wangrenhuang
2022-08-08 d768d607e24628420c6416ac955e491e8d747d9d
提交 | 用户 | 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.UserParamDto;
5 import com.hz.his.dto.user.UserUnionDto;
6 import com.hz.his.dto.user.coupon.UserCouponDto;
7 import com.hz.his.dto.user.money.UserMoneyDto;
8 import com.hz.his.dto.user.project.UserProjectDto;
9 import org.springframework.cloud.openfeign.FeignClient;
10 import org.springframework.web.bind.annotation.PostMapping;
11 import org.springframework.web.bind.annotation.RequestBody;
12
13 /**
14  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
15  */
16 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-money")
17 public interface SPhipMoneyService {
18
19     /**
20      * 开放平台-操作用户资金接口
21      */
22     @PostMapping(value = "/user/money/unclaimed/add")
23     Result unclaimedAdd(@RequestBody UserMoneyDto userMoneyDto);
24
25     /**
26      * 开放平台-用户资产领取记录列表
27      */
28     @PostMapping(value = "/user/money/unclaimed/receive/list")
29     Result receiveList(@RequestBody UserMoneyDto userMoneyDto);
30
31     /**
32      * 开放平台-领取用户资产
33      */
34     @PostMapping(value = "/user/money/unclaimed/receive")
35     Result receive(@RequestBody UserMoneyDto userMoneyDto);
36
37     /**
38      * 开放平台-作废用户待领取记录
39      */
40     @PostMapping(value = "/user/money/unclaimed/cancel")
41     Result unclaimedCancel(@RequestBody UserMoneyDto userMoneyDto);
42
43
44
45
46
47
48
49 }