From 18e8fecfa880f4a92f28879313572d2035a0865a Mon Sep 17 00:00:00 2001 From: zhouxiang <zhouxiang> Date: 星期四, 22 九月 2022 10:07:22 +0800 Subject: [PATCH] 去掉前缀 --- phis-feign/src/main/java/com/hz/his/feign/service/sync/SyncOrderService.java | 3 ++- 1 files changed, 2 insertions(+), 1 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 1bdab13..2e6b485 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 @@ -6,6 +6,7 @@ import com.hx.resultTool.Result; 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; @@ -20,6 +21,6 @@ * @param orderId * @return */ - @PostMapping(value = "/sync/order/getOrderById") + @GetMapping(value = "/sync/order/getOrderById") Result getOrderById(@RequestParam("orderId") String orderId); } -- Gitblit v1.8.0