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