From 2b4511ca363e74343e1cb678c23a9e7638800a3f Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期四, 06 七月 2023 17:33:25 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 cloud-server-other/src/main/java/com/dsh/other/feignclient/StoreClient.java |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 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..035d317 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
@@ -1,11 +1,13 @@
 package com.dsh.other.feignclient;
 
+import com.dsh.other.feignclient.model.GetAllNearbyStoreList;
 import com.dsh.other.feignclient.model.StoreDetailOfCourse;
 import com.dsh.other.feignclient.model.StoreInfo;
 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 +15,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(@RequestBody GetAllNearbyStoreList list);
 
 
-    @PostMapping("/storeDetail/storeOfLonLat")
-    public List<StoreLonLatList> getAllStoreLonLats(@RequestBody String longitude, @RequestBody String latitude);
+    @PostMapping("/base/protocol/storeDetail/storeOfLonLat")
+     List<StoreLonLatList> getAllStoreLonLats(@RequestBody GetAllNearbyStoreList list);
 }

--
Gitblit v1.7.1