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 |  142 +++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 124 insertions(+), 18 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 f0567c2..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
@@ -2,8 +2,10 @@
 
 
 import com.hx.resultTool.Result;
-import com.hz.his.dto.coupon.CouponDto;
-import com.hz.his.dto.coupon.CouponGoodsDto;
+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;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -12,15 +14,8 @@
 /**
  * 杩欓噷杩欎釜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 {
-
-    /**
-     * 鑾峰彇浼樻儬鍒稿垪琛�(鍚寚瀹�)
-     * @return Result
-     */
-    @PostMapping(value = "/coupon/list/appoint")
-    Result getListAppoint(@RequestBody CouponDto couponDto);
 
     /**
      * 鑾峰彇浼樻儬鍒稿垪琛�
@@ -29,13 +24,12 @@
     @PostMapping(value = "/coupon/list")
     Result getList(@RequestBody CouponDto couponDto);
 
-
     /**
-     * 鍟嗗搧鍙鍙栦紭鎯犲埜
+     * 鑾峰彇浼樻儬鍒稿垪琛�(鍚寚瀹�,缁熻浜烘暟)
+     * @return Result
      */
-    @PostMapping(value = "/goods/receive/coupon")
-    Result goodsReceiveCoupon(@RequestBody CouponGoodsDto couponGoodsDto);
-
+    @PostMapping(value = "/coupon/list/appoint")
+    Result getListAppoint(@RequestBody CouponDetailDto couponDetailDto);
 
     /**
      * 浼樻儬鍒歌鎯�
@@ -43,13 +37,29 @@
     @PostMapping(value = "/coupon/detail")
     Result couponDetail(@RequestParam("couponId") String couponId);
 
+    /**
+     * 鐢ㄦ埛浼樻儬鍒歌鎯�
+     */
+    @PostMapping(value = "/coupon/couponNumberDetail")
+    Result couponNumberDetail(@RequestParam("couponNumberId") String couponNumberId);
 
     /**
-     * 鍟嗗搧鍙敤浼樻儬鍒�
+     * 浼樻儬鍒哥粺璁�
      */
-    @PostMapping(value = "/goods/canUsed/coupon")
-    Result goodsCanUsedCoupon(@RequestBody CouponGoodsDto couponGoodsDto);
+    @PostMapping(value = "/coupon/count")
+    Result couponCount(@RequestParam("couponId") String couponId);
 
+    /**
+     * 浼樻儬鍒镐娇鐢ㄦ儏鍐靛垪琛�
+     */
+    @PostMapping(value = "/coupon/used/detail")
+    Result couponUsedDetail(@RequestBody CouponListDetailDto couponListDetailDto);
+
+    /**
+     * 鐢ㄦ埛浼樻儬鍒告儏鍐�
+     */
+    @PostMapping(value = "/coupon/number/detail")
+    Result couponNumberDetail(@RequestBody CouponListDetailDto couponListDetailDto);
 
     /**
      * 鐢ㄦ埛鏄惁棰嗗彇杩囧洟璐椿鍔ㄤ紭鎯犲埜
@@ -58,4 +68,100 @@
     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);
+
+    /**
+     * 鑾峰彇浼樻儬鍒稿垪琛�(涓嶅垎椤�)
+     * @return Result
+     */
+    @PostMapping(value = "/getCouponList")
+    Result getCouponList(@RequestBody CouponDto couponDto);
+
+    /**
+     * 鏌ヨ浼樻儬鍒哥爜璇︽儏(涓嶅垎椤�)
+     * @return Result
+     */
+    @PostMapping(value = "/getCouponNumber")
+    Result getCouponNumber(@RequestBody CouponDto couponDto);
+
+    /**
+     * 鏌ヨ鐢ㄦ埛棰嗗彇钀ラ攢浼樻儬鍒告暟鎹�
+     */
+    @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);
+
+    /***
+     * 鏌ヨ浼樻儬鍒稿彲鐢ㄩ」鐩�
+     */
+    @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