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