phis-feign/src/main/java/com/hz/his/dto/user/money/UserTurnDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
phis-feign/src/main/java/com/hz/his/dto/user/money/UserTurnDto.java
New file @@ -0,0 +1,50 @@ package com.hz.his.dto.user.money; import lombok.Data; import lombok.ToString; /** * * 用户转赠 * @author fwq * @date 2022-3-3 */ @Data public class UserTurnDto { /**转赠人标识*/ private String turnPeopleId; /**转赠人名称*/ private String turnPeopleName; /**转赠门店标识(订单操作人的门店)*/ private String turnShopId; /**转赠门店名称(订单操作人的门店)*/ private String turnShopName; /**受赠人标识*/ private String doneeId; /**受赠人名称*/ private String doneeName; /**转赠门店标识(订单操作人的门店)*/ private String doneeShopId; /**转赠门店标识(订单操作人的门店)*/ private String doneeShopName; /**转赠增值金*/ private String incrementMoney; /**转赠储值金*/ private String storedMoney; /**转赠积分*/ private String integral; /**创建人标识*/ private String createId; /**创建人名称*/ private String createName; /**备注*/ private String remarks; /**主题*/ private String originSubject; /**来源平台*/ private String originChannel; /**关联标识*/ private String commonId; } phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipUserMoneyService.java
@@ -4,6 +4,7 @@ import com.hz.his.dto.user.money.PhisUserMoneyDto; import com.hz.his.dto.user.money.UserMoneyDto; import com.hz.his.dto.user.money.UserMoneyUpdateDto; import com.hz.his.dto.user.money.UserTurnDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -43,4 +44,10 @@ */ @PostMapping(value = "/user/money/log/use/info") Result userMoneyLogUseInfo(@RequestBody UserMoneyDto userMoneyDto); /** * 开放平台-用户资金转赠 */ @PostMapping(value = "/user/money/turn") Result userMoneyTurn(@RequestBody UserTurnDto userTurnDto); }