| | |
| | | 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-platfrom-service",path = "/phip",contextId = "phip-money") |
| | | @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-money") |
| | | public interface SPhipMoneyService { |
| | | |
| | | /** |
| | |
| | | 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); |
| | | } |