From 48478ba9d4834a276e72533bd7f22d09cb527923 Mon Sep 17 00:00:00 2001
From: rx <auster_i@163.com>
Date: 星期四, 23 十一月 2023 16:01:40 +0800
Subject: [PATCH] 营销优惠券查询更改

---
 phis-feign/src/main/java/com/hz/his/feign/service/platform/SPhipCouponService.java |   54 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 53 insertions(+), 1 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 a638ca7..457e1d6 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,7 +1,9 @@
 package com.hz.his.feign.service.platform;
 
 import com.hx.resultTool.Result;
-import com.hz.his.dto.coupon.CouponDto;
+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;
@@ -25,6 +27,12 @@
     Result sendUserCoupon(@RequestBody CouponDto couponDto);
 
     /**
+     * 寮�鏀惧钩鍙�-娲惧彂浼樻儬鍒哥粰鐢ㄦ埛-閲戦鐗堟湰
+     */
+    @PostMapping(value = "/coupon/send/coupon/by/money")
+    Result sendUserCouponByMoney(@RequestBody CouponSendDto couponSendDto);
+
+    /**
      * 寮�鏀惧钩鍙�-浣滃簾浼樻儬鍒�
      */
     @PostMapping(value = "/coupon/cancel/coupon")
@@ -38,4 +46,48 @@
     @PostMapping(value = "/coupon/get/Coupon")
     Result getCoupon(@RequestBody CouponDto dto);
 
+    /**
+     * 寮�鏀惧钩鍙�-浣滃簾鐢ㄦ埛浼樻儬鍒�
+     */
+    @PostMapping(value = "/coupon/invalid/user/coupon")
+    Result invalidCouponNumber(@RequestBody CouponDto couponDto);
+
+    /**
+     * 寮�鏀惧钩鍙�-妫�鏌ヤ紭鎯犲埜鏄惁鍙敤
+     */
+    @PostMapping(value = "/coupon/check/coupon")
+    Result checkCoupon(@RequestBody CouponDto couponDto);
+
+    /**
+     * 寮�鏀惧钩鍙�-妫�鏌ヤ紭鎯犲埜鏄惁鍙敤 - 寮�鍗曠粨璐﹀悓鏃舵墽琛屼娇鐢�
+     */
+    @PostMapping(value = "/coupon/check/coupon/to/orderAndPay")
+    Result checkCouponToOrderAndPay(@RequestBody CouponDto couponDto);
+
+    /**
+     * 寮�鏀惧钩鍙�-璁㈠崟鍙戞斁浼樻儬鍒�
+     */
+    @PostMapping(value = "/coupon/order/send/coupon")
+    Result orderSendCoupon(@RequestBody OrderSendCouponDto couponDto);
+
+
+
+    /**
+     * 寮�鏀惧钩鍙�-鏍¢獙浼樻儬鍒告槸鍚﹀瓨鍦� 鍒涘缓鎴栬�呮洿鏂�
+     */
+    @PostMapping(value = "/coupon/check/create")
+    Result couponCheckCreate(@RequestBody CouponAddDto couponAddDto);
+
+    /**
+     * 寮�鏀惧钩鍙�- 鏍¢獙浼樻儬鍒稿墿浣欐暟閲�
+     */
+    @PostMapping(value = "/coupon/check/surplus/num")
+    Result checkCouponSurplusNum(@RequestBody CouponDto couponDto);
+
+    /**
+     * 寮�鏀惧钩鍙�- 寤舵湡鐢ㄦ埛浼樻儬鍒�
+     */
+    @PostMapping(value = "/user/coupon/delay/coupon")
+    Result delayUserCoupon(@RequestBody UserDelayCouponDto userDelayCouponDto);
+
 }
\ No newline at end of file

--
Gitblit v1.8.0