From c3c0976a6dd5c47d2b83906a296e81062a9daed2 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期四, 21 七月 2022 10:14:10 +0800 Subject: [PATCH] 修改售后/优惠券/导入redisson --- phis-feign/src/main/java/com/hz/his/feign/service/SCouponService.java | 7 +++++++ phis-feign/src/main/java/com/hz/phis/dt/coupon/CouponGoodsDt.java | 18 +++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/SCouponService.java b/phis-feign/src/main/java/com/hz/his/feign/service/SCouponService.java index 1d6426b..4d03385 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/SCouponService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/SCouponService.java @@ -43,4 +43,11 @@ @PostMapping(value = "/coupon/detail") Result couponDetail(@RequestParam("couponId") String couponId); + + /** + * 鍟嗗搧鍙敤浼樻儬鍒� + */ + @PostMapping(value = "/goods/canUsed/coupon") + Result goodsCanUsedCoupon(@RequestBody CouponGoodsDt couponGoodsDt); + } diff --git a/phis-feign/src/main/java/com/hz/phis/dt/coupon/CouponGoodsDt.java b/phis-feign/src/main/java/com/hz/phis/dt/coupon/CouponGoodsDt.java index d2c8c6a..19737e0 100644 --- a/phis-feign/src/main/java/com/hz/phis/dt/coupon/CouponGoodsDt.java +++ b/phis-feign/src/main/java/com/hz/phis/dt/coupon/CouponGoodsDt.java @@ -2,9 +2,12 @@ import lombok.Data; +import java.math.BigDecimal; +import java.util.List; + /** * @author fwq - * 鍟嗗搧棰嗗彇浼樻儬鍒告墿灞� + * 鍟嗗搧浼樻儬鍒告墿灞� * */ @Data public class CouponGoodsDt { @@ -14,4 +17,17 @@ /**鏍囪瘑*/ private String commonId; + + /**鎬婚噾棰�*/ + private BigDecimal total; + /**鍏叡鏍囪瘑*/ + private List<String> ids; + /**鍟嗗搧绫诲瀷*/ + private String goodsType; + + + /**鍟嗗搧绫诲瀷-椤圭洰*/ + public static final String TYPE_PROJECT = "project"; + /**鍟嗗搧绫诲瀷-鍟嗗搧/鑽搧*/ + public static final String TYPE_RETAIL = "retail"; } -- Gitblit v1.8.0