From 1d20897631b2ac7f0deefec490f49c0b9f3480b2 Mon Sep 17 00:00:00 2001 From: wzh <zhuhaow@phiskin.com> Date: 星期一, 08 八月 2022 17:13:30 +0800 Subject: [PATCH] 修改优惠券 --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 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 cddc55b..e3f5d45 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 @@ -6,6 +6,7 @@ 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; @@ -14,6 +15,7 @@ import com.hz.his.dto.user.project.UserPackageDto; 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; @@ -88,10 +90,9 @@ /** * 鑾峰彇鐢ㄦ埛淇冮攢浣跨敤璁板綍 - * @param orderItemNo 瀛愯鍗曞彿 * */ @PostMapping(value = "/user/promotion/used") - Result userPromotionUsed(@RequestParam("orderItemNo") String orderItemNo); + Result userPromotionUsed(@RequestBody UserPromotionUsedDto userPromotionUsedDto); /** @@ -114,6 +115,12 @@ Result userCanUseCoupon(@RequestBody UserCanUseCouponDto userCanUseCouponDto); /** + * 鑾峰彇鍟嗗搧鍙敤浼樻儬鍒� + * */ + @PostMapping(value = "/goods/can/use/coupon") + Result goodsCanUseCoupon(@RequestBody GoodsCanUseCouponDto goodsCanUseCouponDto); + + /** * 鍒ゆ柇璁㈠崟鏄惁鍙敤璇ヤ紭鎯犲埜 */ @PostMapping(value = "/order/can/use/coupon") -- Gitblit v1.8.0