提交 | 用户 | age
|
6c72ac
|
1 |
package com.hz.his.feign.service.platform; |
W |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
a0bf4e
|
4 |
import com.hz.his.dto.user.money.PhisUserMoneyDto; |
f832d6
|
5 |
import com.hz.his.dto.user.money.UserMoneyDto; |
cf2c77
|
6 |
import com.hz.his.dto.user.money.UserMoneyUpdateDto; |
6c72ac
|
7 |
import org.springframework.cloud.openfeign.FeignClient; |
W |
8 |
import org.springframework.web.bind.annotation.PostMapping; |
|
9 |
import org.springframework.web.bind.annotation.RequestBody; |
|
10 |
|
|
11 |
/** |
|
12 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
13 |
*/ |
39a067
|
14 |
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user-money") |
6c72ac
|
15 |
public interface SPhipUserMoneyService { |
W |
16 |
|
|
17 |
/** |
|
18 |
* 开放平台-用户新增 |
|
19 |
*/ |
|
20 |
@PostMapping(value = "/user/money/op") |
a0bf4e
|
21 |
Result upUserMoney(@RequestBody PhisUserMoneyDto userMoneyDto); |
6c72ac
|
22 |
|
cf2c77
|
23 |
/** |
C |
24 |
* 开放平台-用户资产修改 |
|
25 |
*/ |
51533a
|
26 |
@PostMapping(value = "/user/money/unclaimed/add") |
cf2c77
|
27 |
Result userMoneyUpdate(@RequestBody UserMoneyUpdateDto userMoneyUpdateDto); |
6c72ac
|
28 |
|
f832d6
|
29 |
/** |
F |
30 |
* 开放平台-用户资金信息 |
|
31 |
*/ |
|
32 |
@PostMapping(value = "/user/money/info") |
|
33 |
Result userMoneyInfo(@RequestBody UserMoneyDto userMoneyDto); |
|
34 |
|
87324f
|
35 |
/** |
A |
36 |
* 开放平台-用户资金来源信息(日志消息查询) |
|
37 |
*/ |
|
38 |
@PostMapping(value = "/user/money/log/source/info") |
|
39 |
Result userMoneyLogSourceInfo(@RequestBody UserMoneyDto userMoneyDto); |
|
40 |
|
|
41 |
/** |
|
42 |
* 开放平台-用户资金使用信息(日志消息查询) |
|
43 |
*/ |
|
44 |
@PostMapping(value = "/user/money/log/use/info") |
|
45 |
Result userMoneyLogUseInfo(@RequestBody UserMoneyDto userMoneyDto); |
6c72ac
|
46 |
} |