wangrenhuang
2023-05-22 9f29abe0654aa7c5566883329395f6ee22877ead
提交 | 用户 | age
6c72ac 1 package com.hz.his.feign.service.platform;
W 2
3 import com.hx.resultTool.Result;
a0bf4e 4 import com.hz.his.dto.user.money.PhisUserMoneyDto;
f832d6 5 import com.hz.his.dto.user.money.UserMoneyDto;
cf2c77 6 import com.hz.his.dto.user.money.UserMoneyUpdateDto;
6c72ac 7 import org.springframework.cloud.openfeign.FeignClient;
W 8 import org.springframework.web.bind.annotation.PostMapping;
9 import org.springframework.web.bind.annotation.RequestBody;
10
11 /**
12  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
13  */
39a067 14 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user-money")
6c72ac 15 public interface SPhipUserMoneyService {
W 16
17     /**
18      * 开放平台-用户新增
19      */
20     @PostMapping(value = "/user/money/op")
a0bf4e 21     Result upUserMoney(@RequestBody PhisUserMoneyDto userMoneyDto);
6c72ac 22
cf2c77 23     /**
C 24      * 开放平台-用户资产修改
25      */
51533a 26     @PostMapping(value = "/user/money/unclaimed/add")
cf2c77 27     Result userMoneyUpdate(@RequestBody UserMoneyUpdateDto userMoneyUpdateDto);
6c72ac 28
f832d6 29     /**
F 30      * 开放平台-用户资金信息
31      */
32     @PostMapping(value = "/user/money/info")
33     Result userMoneyInfo(@RequestBody UserMoneyDto userMoneyDto);
34
6c72ac 35 }