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/platform/SPhipCouponService.java |   21 ++++++++++-----------
 1 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipCouponService.java b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipCouponService.java
index 7e8b001..3c613ac 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipCouponService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipCouponService.java
@@ -1,10 +1,9 @@
 package com.hz.his.feign.service.platform;
 
 import com.hx.resultTool.Result;
-import com.hz.his.dto.coupon.CouponAddDto;
-import com.hz.his.dto.coupon.CouponDto;
-import com.hz.his.dto.coupon.CouponSendDto;
-import com.hz.his.dto.coupon.OrderSendCouponDto;
+import com.hz.his.dto.coupon.*;
+import com.hz.his.dto.user.coupon.UserCanUseCouponDto;
+import com.hz.his.dto.user.coupon.UserCouponDto;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -12,7 +11,7 @@
 /**
  * 杩欓噷杩欎釜name 闇�瑕佸~鍐� 璇锋眰鐨勬湇鍔℃彁渚涜�呯殑娉ㄥ唽鍒皀acos Server涓婇潰鐨勬湇鍔″悕锛宲ath 鏄姹傛帴鍙e墠缂�
  */
-@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-coupon")
+@FeignClient(name="phi-platform-user",path = "/phip",contextId = "phip-coupon")
 public interface SPhipCouponService {
 
     /**
@@ -78,15 +77,15 @@
     Result couponCheckCreate(@RequestBody CouponAddDto couponAddDto);
 
     /**
-     * 寮�鏀惧钩鍙�-鑾峰彇浼樻儬鍒搁檺棰濋厤缃� 鎬荤殑
+     * 寮�鏀惧钩鍙�- 鏍¢獙浼樻儬鍒稿墿浣欐暟閲�
      */
-    @PostMapping(value = "/coupon/use/quato/info/by/total")
-    Result couponUseQuotaInfoByTotal(@RequestBody CouponAddDto couponAddDto);
+    @PostMapping(value = "/coupon/check/surplus/num")
+    Result checkCouponSurplusNum(@RequestBody CouponDto couponDto);
 
     /**
-     * 寮�鏀惧钩鍙�-鑾峰彇浼樻儬鍒搁檺棰濋厤缃� 褰撳墠鏈�
+     * 寮�鏀惧钩鍙�- 寤舵湡鐢ㄦ埛浼樻儬鍒�
      */
-    @PostMapping(value = "/coupon/use/quato/info/by/month")
-    Result couponUseQuotaInfoByMonth(@RequestBody CouponAddDto couponAddDto);
+    @PostMapping(value = "/user/coupon/delay/coupon")
+    Result delayUserCoupon(@RequestBody UserDelayCouponDto userDelayCouponDto);
 
 }
\ No newline at end of file

--
Gitblit v1.8.0