From 7d26479c1ede1035b7aabc6e61676c69b9438a64 Mon Sep 17 00:00:00 2001
From: fwq <582742538@qq.com>
Date: 星期二, 25 十月 2022 12:02:51 +0800
Subject: [PATCH] 订单详情转换实体

---
 phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncOrderService.java |    5 +++--
 1 files changed, 3 insertions(+), 2 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..e97ce7a 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;
 
 /**
@@ -30,7 +31,7 @@
      * @param syncOrderDto
      * @return
      */
-    @GetMapping(value = "/sync/order/cancelOrder")
+    @PostMapping(value = "/sync/order/cancelOrder")
     Result cancelOrder(SyncOrderDto syncOrderDto);
 
     /**
@@ -39,7 +40,7 @@
      * @param syncOrderDto
      * @return
      */
-    @GetMapping(value = "/sync/order/refundOrder")
+    @PostMapping(value = "/sync/order/refundOrder")
     Result refundOrder(SyncOrderDto syncOrderDto);
 
 }

--
Gitblit v1.8.0