From 65b5757a6797459ad72f992e8ed0fc5ef3306385 Mon Sep 17 00:00:00 2001 From: fhx <308050795@qq.com> Date: 星期四, 24 八月 2023 11:00:18 +0800 Subject: [PATCH] 1.新增优惠券查询方法和dto字段 --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 51 insertions(+), 4 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java index 03821bd..dc62742 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java @@ -2,11 +2,9 @@ import com.hx.resultTool.Result; -import com.hz.his.dto.coupon.CouponDetailDto; -import com.hz.his.dto.coupon.CouponDto; -import com.hz.his.dto.coupon.CouponGoodsDto; -import com.hz.his.dto.coupon.CouponListDetailDto; +import com.hz.his.dto.coupon.*; import com.hz.his.dto.dictionaries.DictionariesDto; +import com.hz.his.dto.user.coupon.GoodsUsedCouponDto; import com.hz.phis.dt.marketingCoupon.MarketingCouponDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; @@ -102,4 +100,53 @@ */ @PostMapping(value = "/marketing/data") Result marketingData(@RequestBody(required = false) MarketingCouponDto marketingCouponDto); + + + /** + * 浼樻儬鍒哥粺涓�鏍¢獙鎺ュ彛 + */ + @PostMapping(value = "/coupon/unify/check") + Result unifyCheck(@RequestBody(required = false) CouponCheckDto couponCheckDto); + + /** + * 鐢ㄦ埛-鍙敤浼樻儬鍒稿垪琛�-缁熶竴鏍¢獙鐗堟湰 + * @return canUseCouponList鍙敤鍒稿垪琛� canUseCount鍙敤鍒告暟閲� + * */ + @PostMapping(value = "/coupon/user/unify/check/list") + Result userCouponCheckList(@RequestBody(required = false) CouponListDto couponListDto); + + /** + * 鐢ㄦ埛-鍗囧崟璁㈠崟鐨勫師浣跨敤浼樻儬鍒稿垪琛� + * @return canUseCouponList鍙敤鍒稿垪琛� canUseCount鍙敤鍒告暟閲� + * */ + @PostMapping(value = "/coupon/user/riseOrderOriCouponList") + Result riseOrderOriCouponList(@RequestBody(required = false) CouponListDto couponListDto); + + /** + * 鏍规嵁skuid鏌ヨ鍏宠仈浼樻儬鍒� + */ + @PostMapping(value = "/coupon/find/skuId") + Result findGoodsSkuIdCoupon(@RequestBody(required = false) GoodsUsedCouponDto dto); + + /*涓嬪崟鏍¢獙浼樻儬鍒告槸鍚﹀彲鐢�*/ + @PostMapping(value = "/coupon/order/check") + Result orderCheck(@RequestBody(required = false) CouponListDto couponListDto); + + /** + * 鏌ョ湅鍟嗗搧璇︽儏鐢ㄦ埛鍙敤浼樻儬鍒� + */ + @PostMapping(value = "/coupon/user/goods") + Result findUserGoodsCoupon(@RequestBody(required = false) GoodsUsedCouponDto dto); + + /** + * 鏌ヨ鍩虹鍒嗙被 + */ + @PostMapping(value = "/coupon/type/list") + Result getCouponTypeList(@RequestBody(required = false) CouponDto dto); + + /** + * 鏌ヨ浼樻儬鍒稿垎绫� + */ + @PostMapping(value = "/couponType/list") + Result couponTypeList(@RequestBody(required = false) CouponTypeDto couponTypeDto); } -- Gitblit v1.8.0