package com.hz.his.feign.service.platform; import com.hx.resultTool.Result; import com.hz.his.dto.user.money.UserMoneyDto; 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); /** * 获取用户资金信息 * */ @PostMapping(value = "/user/money/info") Result userMoneyInfo(@RequestBody UserMoneyDto userMoneyDto); /** * 设置增值金是否需要用户领取状态 * */ @PostMapping(value = "/user/money/unclaimed/default/setting") Result userDefaultSetting(@RequestBody UserMoneyDto userMoneyDto); /** * 用户资金使用记录列表 * */ @PostMapping(value = "/user/money/use/log/list") Result useLogListData(@RequestBody UserMoneyDto userMoneyDto); }