提交 | 用户 | age
|
ddd881
|
1 |
package com.hz.his.feign.service.phis; |
7c680b
|
2 |
|
C |
3 |
|
|
4 |
import com.hx.resultTool.Result; |
f5bce1
|
5 |
import com.hz.his.dto.member.MemberDto; |
7c680b
|
6 |
import org.springframework.cloud.openfeign.FeignClient; |
C |
7 |
import org.springframework.web.bind.annotation.PostMapping; |
|
8 |
import org.springframework.web.bind.annotation.RequestBody; |
|
9 |
import org.springframework.web.bind.annotation.RequestParam; |
|
10 |
|
|
11 |
/** |
|
12 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
13 |
*/ |
314a4b
|
14 |
@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "memberLevel") |
7c680b
|
15 |
public interface SMemberLevelService { |
C |
16 |
|
3f7d55
|
17 |
|
C |
18 |
/** |
|
19 |
* 查询会员等级列表(简约数据) |
|
20 |
*/ |
|
21 |
@PostMapping(value = "/member/simple-list") |
|
22 |
Result getMemberSimpleList(@RequestBody MemberDto memberDto); |
|
23 |
|
|
24 |
/** |
|
25 |
* 查询会员等级列表 |
|
26 |
*/ |
|
27 |
@PostMapping(value = "/member/level/list") |
|
28 |
Result getMemberLevelList(@RequestBody MemberDto memberDto); |
|
29 |
|
7c680b
|
30 |
/** |
C |
31 |
* 获取会员等级详情 |
|
32 |
* @param memberLevelId 会员等级标识 |
|
33 |
* @return Result |
|
34 |
*/ |
|
35 |
@PostMapping(value = "/member/level/detail") |
|
36 |
Result getMemberLevelDetail(@RequestParam("memberLevelId") String memberLevelId); |
|
37 |
|
7f02d5
|
38 |
|
W |
39 |
/** |
|
40 |
* 根据会员名称查询会员等级详情 |
|
41 |
* @param memberLeveName 会员等级名称 |
|
42 |
* @return Result |
|
43 |
*/ |
|
44 |
@PostMapping(value = "/member/level/findMenberByName") |
|
45 |
Result findMenberByName(@RequestParam("memberLeveName") String memberLeveName); |
d82591
|
46 |
|
W |
47 |
/** |
|
48 |
* 获取会员等级佣金比例详情 |
|
49 |
* @param memberLevelId 会员等级标识 |
|
50 |
* @return Result |
|
51 |
*/ |
|
52 |
@PostMapping(value = "/member/level/getCommissDetail") |
|
53 |
Result getCommissDetail(@RequestParam("memberLevelId") String memberLevelId); |
a6bbb4
|
54 |
|
F |
55 |
/** 获取会员等级数据vo */ |
|
56 |
@PostMapping(value = "/member/level/getUserLevelDataVo") |
|
57 |
Result getUserLevelDataVo(); |
7c680b
|
58 |
} |