From 58481db6d24e8183eb915072827625f0c4394469 Mon Sep 17 00:00:00 2001 From: chenjiahe <763432473@qq.com> Date: 星期四, 11 八月 2022 17:16:46 +0800 Subject: [PATCH] 文件转化 --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java | 30 +++++++++++++++++++++++++----- 1 files changed, 25 insertions(+), 5 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java index 39b0dd2..c58512e 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java @@ -3,16 +3,21 @@ import com.hx.resultTool.Result; import com.hz.his.dto.user.UserAppointmentDto; import com.hz.his.dto.user.UserDto; +import com.hz.his.dto.user.UserIdsDto; import com.hz.his.dto.user.UserLevelDto; import com.hz.his.dto.user.card.UserCardDto; import com.hz.his.dto.user.card.UserCardUsedDto; +import com.hz.his.dto.user.coupon.GoodsCanUseCouponDto; +import com.hz.his.dto.user.coupon.OrderCanUseCouponDto; import com.hz.his.dto.user.coupon.UserCanUseCouponDto; import com.hz.his.dto.user.coupon.UserCouponDto; import com.hz.his.dto.user.money.*; import com.hz.his.dto.user.label.UserLabelDto; -import com.hz.his.dto.user.project.UserPackageDto; +import com.hz.his.dto.user.packages.UserPackageDto; +import com.hz.his.dto.user.packages.UserPhisPackageDto; import com.hz.his.dto.user.project.UserProjectDto; import com.hz.his.dto.user.project.UserProjectUsedDto; +import com.hz.his.dto.user.promotion.UserPromotionUsedDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -87,10 +92,9 @@ /** * 鑾峰彇鐢ㄦ埛淇冮攢浣跨敤璁板綍 - * @param orderItemNo 瀛愯鍗曞彿 * */ @PostMapping(value = "/user/promotion/used") - Result userPromotionUsed(@RequestParam("orderItemNo") String orderItemNo); + Result userPromotionUsed(@RequestBody UserPromotionUsedDto userPromotionUsedDto); /** @@ -111,6 +115,18 @@ * */ @PostMapping(value = "/user/can/use/coupon") Result userCanUseCoupon(@RequestBody UserCanUseCouponDto userCanUseCouponDto); + + /** + * 鑾峰彇鍟嗗搧鍙敤浼樻儬鍒� + * */ + @PostMapping(value = "/goods/can/use/coupon") + Result goodsCanUseCoupon(@RequestBody GoodsCanUseCouponDto goodsCanUseCouponDto); + + /** + * 鍒ゆ柇璁㈠崟鏄惁鍙敤璇ヤ紭鎯犲埜 + */ + @PostMapping(value = "/order/can/use/coupon") + Result orderCanUseCoupon(@RequestBody OrderCanUseCouponDto orderCanUseCouponDto); /** @@ -209,9 +225,13 @@ Result userAppearanceInfo(@RequestParam("appearanceId") String appearanceId); /** - * 鑾峰彇浜虹兢鍖呭垪琛�(鍙紶绛涢�夌殑鍙傛暟:浼氬憳绛夌骇,鍋氳繃鐨勯」鐩�,鎷ユ湁鐨勬爣绛�,浼氬憳鍒涘缓鏃堕棿,鏈�鍚庝竴娆℃秷璐规椂闂�,鏈�鍚庝竴娆″埌搴楁椂闂�) + * 鑾峰彇浜虹兢鍖呭垪琛�(鍙紶绛涢�夌殑鍙傛暟:浼氬憳绛夌骇,鍋氳繃鐨勯」鐩�,浼氬憳鍒涘缓鏃堕棿,鏈�鍚庝竴娆℃秷璐规椂闂�,鏈�鍚庝竴娆″埌搴楁椂闂�) * */ @PostMapping(value = "/user/package/list") - Result userPackageList(@RequestBody UserPackageDto userPackageDto); + Result userPackageList(@RequestBody UserPhisPackageDto userPhisPackageDto); + + /**鏍规嵁鏍囪瘑闆嗗悎绛涢�夌敤鎴�*/ + @PostMapping(value = "/user/idList/list") + Result userIdSelectList(@RequestBody UserIdsDto userIdsDto); } \ No newline at end of file -- Gitblit v1.8.0