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