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