提交 | 用户 | age
|
7c680b
|
1 |
package com.hz.his.feign.service; |
C |
2 |
|
|
3 |
/** |
|
4 |
* @ClassName SUserLevelService |
|
5 |
* @Description 会员等级 |
|
6 |
* @Author Wrh |
|
7 |
* @Date 2022/6/24 10:47 |
|
8 |
* @Version 1.0 |
|
9 |
*/ |
|
10 |
|
|
11 |
import com.hx.resultTool.Result; |
|
12 |
import com.hz.phis.dt.member.MemberDt; |
|
13 |
import org.springframework.cloud.openfeign.FeignClient; |
|
14 |
import org.springframework.web.bind.annotation.PostMapping; |
|
15 |
import org.springframework.web.bind.annotation.RequestBody; |
|
16 |
|
|
17 |
/** |
|
18 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
19 |
*/ |
|
20 |
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "userLevel") |
|
21 |
public interface SUserLevelService { |
|
22 |
|
|
23 |
/** |
|
24 |
* 查询会员等级列表 |
|
25 |
* @param memberDt 会员等级 |
|
26 |
* @return |
|
27 |
*/ |
|
28 |
@PostMapping(value = "/member/getMemberLevelList") |
|
29 |
Result getMemberLevelList(@RequestBody MemberDt memberDt); |
|
30 |
} |