From 60bd8c1b0a9eb8b1671bcb8fd2badc31c3401daf Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期四, 04 八月 2022 18:53:09 +0800
Subject: [PATCH] 售后对接修改

---
 phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java         |    4 ++--
 phis-feign/src/main/java/com/hz/his/dto/user/promotion/UserPromotionUsedDto.java |   19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 2 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/dto/user/promotion/UserPromotionUsedDto.java b/phis-feign/src/main/java/com/hz/his/dto/user/promotion/UserPromotionUsedDto.java
new file mode 100644
index 0000000..c4109b5
--- /dev/null
+++ b/phis-feign/src/main/java/com/hz/his/dto/user/promotion/UserPromotionUsedDto.java
@@ -0,0 +1,19 @@
+package com.hz.his.dto.user.promotion;
+
+import com.hz.his.dto.PageDto;
+import lombok.Data;
+
+/**
+ * 鐢ㄦ埛淇冮攢浣跨敤鎵╁睍
+ * @author fwq
+ * */
+@Data
+public class UserPromotionUsedDto extends PageDto {
+    /**phis鐢ㄦ埛鏍囪瘑*/
+    private String userId;
+    /**瀛愯鍗曠紪鍙�*/
+    private String orderItemNo;
+
+}
+
+
diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java
index c87eb6f..e3f5d45 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SUserService.java
@@ -15,6 +15,7 @@
 import com.hz.his.dto.user.project.UserPackageDto;
 import com.hz.his.dto.user.project.UserProjectDto;
 import com.hz.his.dto.user.project.UserProjectUsedDto;
+import com.hz.his.dto.user.promotion.UserPromotionUsedDto;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
@@ -89,10 +90,9 @@
 
     /**
      * 鑾峰彇鐢ㄦ埛淇冮攢浣跨敤璁板綍
-     * @param orderItemNo 瀛愯鍗曞彿
      * */
     @PostMapping(value = "/user/promotion/used")
-    Result userPromotionUsed(@RequestParam("orderItemNo") String orderItemNo);
+    Result userPromotionUsed(@RequestBody UserPromotionUsedDto userPromotionUsedDto);
 
 
     /**

--
Gitblit v1.8.0