chenjiahe
2023-07-04 4da2aa76c2f27c7ad49ee448ded1fc4c507645d2
提交 | 用户 | age
ddd881 1 package com.hz.his.feign.service.platform;
F 2
ddc642 3 import com.alibaba.fastjson.JSONObject;
ddd881 4 import com.hx.resultTool.Result;
F 5 import com.hz.his.dto.user.money.UserMoneyDto;
6 import org.springframework.cloud.openfeign.FeignClient;
7 import org.springframework.web.bind.annotation.PostMapping;
8 import org.springframework.web.bind.annotation.RequestBody;
9
10 /**
11  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
12  */
39a067 13 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-money")
ddd881 14 public interface SPhipMoneyService {
F 15
16     /**
17      * 开放平台-操作用户资金接口
18      */
19     @PostMapping(value = "/user/money/unclaimed/add")
20     Result unclaimedAdd(@RequestBody UserMoneyDto userMoneyDto);
21
22     /**
23      * 开放平台-用户资产领取记录列表
24      */
25     @PostMapping(value = "/user/money/unclaimed/receive/list")
26     Result receiveList(@RequestBody UserMoneyDto userMoneyDto);
27
28     /**
29      * 开放平台-领取用户资产
30      */
31     @PostMapping(value = "/user/money/unclaimed/receive")
32     Result receive(@RequestBody UserMoneyDto userMoneyDto);
33
34     /**
35      * 开放平台-作废用户待领取记录
36      */
37     @PostMapping(value = "/user/money/unclaimed/cancel")
38     Result unclaimedCancel(@RequestBody UserMoneyDto userMoneyDto);
39
40
3d9deb 41     /**
W 42      * 获取用户资金信息
43      * */
44     @PostMapping(value = "/user/money/info")
45     Result userMoneyInfo(@RequestBody UserMoneyDto userMoneyDto);
6c8c7a 46
W 47
48     /**
49      * 设置增值金是否需要用户领取状态
50      * */
51     @PostMapping(value = "/user/money/unclaimed/default/setting")
52     Result userDefaultSetting(@RequestBody UserMoneyDto userMoneyDto);
ddc642 53
A 54     /**
55      * 用户资金使用记录列表
56      * */
57     @PostMapping(value = "/user/money/use/log/list")
58     Result useLogListData(@RequestBody UserMoneyDto userMoneyDto);
ddd881 59 }