wangrenhuang
2022-08-08 d768d607e24628420c6416ac955e491e8d747d9d
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
package com.hz.his.feign.service.platform;
 
import com.hx.resultTool.Result;
import com.hz.his.dto.user.UserParamDto;
import com.hz.his.dto.user.UserUnionDto;
import com.hz.his.dto.user.coupon.UserCouponDto;
import com.hz.his.dto.user.money.UserMoneyDto;
import com.hz.his.dto.user.project.UserProjectDto;
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);
 
 
 
 
 
 
 
}