From 320c9052c797f23f1f59b0cbf344893557772707 Mon Sep 17 00:00:00 2001 From: wangrenhuang <wangren_huang@163.com> Date: 星期三, 28 九月 2022 17:26:39 +0800 Subject: [PATCH] 新增查询优惠券关联商品接口 --- phis-feign/src/main/java/com/hz/his/dto/coupon/CouponGoodsDto.java | 2 ++ phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java | 12 ++++++++++++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/dto/coupon/CouponGoodsDto.java b/phis-feign/src/main/java/com/hz/his/dto/coupon/CouponGoodsDto.java index ac67919..0890605 100644 --- a/phis-feign/src/main/java/com/hz/his/dto/coupon/CouponGoodsDto.java +++ b/phis-feign/src/main/java/com/hz/his/dto/coupon/CouponGoodsDto.java @@ -26,6 +26,8 @@ private List<String> ids; /**鍟嗗搧绫诲瀷*/ private String goodsType; + //浣跨敤绫诲瀷 + private Integer useType; /**鍟嗗搧绫诲瀷-椤圭洰*/ 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 ec180ee..3926995 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 @@ -68,4 +68,16 @@ Result checkGroupCoupon(@RequestBody CouponGoodsDto couponGoodsDto); + /** + * 鏍规嵁浼樻儬鍒竔d鏌ヨ鍏宠仈鍟嗗搧鍒嗙被 + */ + @PostMapping(value = "/get/coupon/type") + Result getCouponGoodsTyep(@RequestBody CouponGoodsDto couponGoodsDto); + + + /** + * 鏍规嵁浼樻儬鍒竔d缁熻鍏宠仈鍟嗗搧 + */ + @PostMapping(value = "/get/coupon/goods") + Result getCouponGoods(@RequestBody CouponGoodsDto couponGoodsDto); } -- Gitblit v1.8.0