From 552e24ec149b29b3b18d3c136e7c8b1bcc1d5d78 Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期三, 20 三月 2024 18:11:18 +0800
Subject: [PATCH] 标签重构

---
 phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncOrderService.java |   16 +++++++++++++---
 1 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncOrderService.java b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncOrderService.java
index 7d7d8f3..4832cd4 100644
--- a/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncOrderService.java
+++ b/phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncOrderService.java
@@ -8,6 +8,7 @@
 import com.hz.his.dto.sync.SyncOrderDto;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestParam;
 
 /**
@@ -24,13 +25,13 @@
     @GetMapping(value = "/sync/order/getOrderById")
     Result getOrderById(@RequestParam("orderId") String orderId);
 
-   /**
+    /**
      * 淇敼棰嗗仴璁㈠崟涓轰綔搴熻鍗�
      * 娉ㄦ剰涓嶈闅忔剰璋冪敤锛岄渶瑕佺敤鍒板厛鍜屽悓姝ヤ腑蹇冨晢閲�
      * @param syncOrderDto
      * @return
      */
-    @GetMapping(value = "/sync/order/cancelOrder")
+    @PostMapping(value = "/sync/order/cancelOrder")
     Result cancelOrder(SyncOrderDto syncOrderDto);
 
     /**
@@ -39,7 +40,16 @@
      * @param syncOrderDto
      * @return
      */
-    @GetMapping(value = "/sync/order/refundOrder")
+    @PostMapping(value = "/sync/order/refundOrder")
     Result refundOrder(SyncOrderDto syncOrderDto);
+    /**
+     * 淇敼棰嗗缓璁㈠崟涓洪儴鍒嗛��娆剧姸鎬�
+     * 娉ㄦ剰涓嶈闅忔剰璋冪敤锛岄渶瑕佺敤鍒板厛鍜屽悓姝ヤ腑蹇冨晢閲�
+     * @param syncOrderDto
+     * @return
+     */
+    @PostMapping(value = "/sync/order/partialRefund")
+    Result partialRefund(SyncOrderDto syncOrderDto);
+
 
 }

--
Gitblit v1.8.0