From 20cc9b22e1cdb93d081c6596ec762e9f928e208a Mon Sep 17 00:00:00 2001
From: lisy <linlangsur163@163.com>
Date: 星期三, 05 七月 2023 11:28:25 +0800
Subject: [PATCH] 修复模块中的地址

---
 cloud-server-other/src/main/java/com/dsh/other/feignclient/StoreClient.java |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/cloud-server-other/src/main/java/com/dsh/other/feignclient/StoreClient.java b/cloud-server-other/src/main/java/com/dsh/other/feignclient/StoreClient.java
index 67097be..65f4ae7 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/feignclient/StoreClient.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/feignclient/StoreClient.java
@@ -5,7 +5,7 @@
 import com.dsh.other.feignclient.model.StoreLonLatList;
 import org.springframework.cloud.openfeign.FeignClient;
 import org.springframework.web.bind.annotation.PostMapping;
-import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestParam;
 
 import java.util.List;
 
@@ -13,14 +13,14 @@
 public interface StoreClient {
 
 
-    @PostMapping("/storeDetail/courseOfSto")
-    public StoreDetailOfCourse getCourseOfStore(@RequestBody Integer storeId);
+    @PostMapping("/base/protocol/storeDetail/courseOfSto")
+     StoreDetailOfCourse getCourseOfStore(@RequestParam("storeId") Integer storeId);
 
 
-    @PostMapping("/storeDetail/nearbyStore")
-    List<StoreInfo> getAllNearbyStoreList(@RequestBody String longitude, @RequestBody String latitude);
+    @PostMapping("/base/protocol/storeDetail/nearbyStore")
+    List<StoreInfo> getAllNearbyStoreList(@RequestParam("longitude") String longitude, @RequestParam("latitude") String latitude);
 
 
-    @PostMapping("/storeDetail/storeOfLonLat")
-    public List<StoreLonLatList> getAllStoreLonLats(@RequestBody String longitude, @RequestBody String latitude);
+    @PostMapping("/base/protocol/storeDetail/storeOfLonLat")
+     List<StoreLonLatList> getAllStoreLonLats(@RequestParam("longitude") String longitude, @RequestParam("latitude") String latitude);
 }

--
Gitblit v1.7.1