From 3dac1b9697a7a214789cc2d95788a178a63be4aa Mon Sep 17 00:00:00 2001 From: cmg <527198563@qq.com> Date: 星期二, 30 四月 2024 20:45:37 +0800 Subject: [PATCH] 修改feign调用的服务名:synchro-service 修改为 phi-platform-user --- phis-feign/src/main/java/com/hz/his/feign/service/phis/SCouponService.java | 36 +++++++++++++++++++++++++++++++++++- 1 files changed, 35 insertions(+), 1 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 ee1befb..8e1facc 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 @@ -14,7 +14,7 @@ /** * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂� */ -@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "coupon") +@FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "coupon") public interface SCouponService { /** @@ -116,6 +116,13 @@ 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") @@ -130,4 +137,31 @@ */ @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); + + /*** + * 鏌ヨ浼樻儬鍒稿彲鐢ㄩ」鐩� + */ + @PostMapping(value = "/coupon/usable/project/list") + Result couponUsableProjectList(@RequestBody(required = false) CouponDto dto); + + /*** + * 鏌ヨ鐢ㄦ埛浼樻儬鍒� 鏄惁鏈変粖骞村彂鏀炬寚瀹氱殑鐢熸棩鍒� + */ + @PostMapping(value = "/coupon/birthday/list/user") + Result userBirthDayCouponList(@RequestBody(required = false) CouponDto dto); + + + } -- Gitblit v1.8.0