zhangxu
2022-12-07 a8d7e220e8e190dcd3c0ff8a26587820730b41fb
提交 | 用户 | 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;
cf2c77 5 import com.hz.his.dto.user.money.UserMoneyUpdateDto;
6c72ac 6 import org.springframework.cloud.openfeign.FeignClient;
W 7 import org.springframework.web.bind.annotation.PostMapping;
8 import org.springframework.web.bind.annotation.RequestBody;
9
10 /**
11  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
12  */
39a067 13 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user-money")
6c72ac 14 public interface SPhipUserMoneyService {
W 15
16     /**
17      * 开放平台-用户新增
18      */
19     @PostMapping(value = "/user/money/op")
a0bf4e 20     Result upUserMoney(@RequestBody PhisUserMoneyDto userMoneyDto);
6c72ac 21
cf2c77 22     /**
C 23      * 开放平台-用户资产修改
24      */
51533a 25     @PostMapping(value = "/user/money/unclaimed/add")
cf2c77 26     Result userMoneyUpdate(@RequestBody UserMoneyUpdateDto userMoneyUpdateDto);
6c72ac 27
W 28 }