From 3faea128cb8fb041c3164e2313a164d305660a62 Mon Sep 17 00:00:00 2001
From: lisy <linlangsur163@163.com>
Date: 星期一, 03 七月 2023 16:16:27 +0800
Subject: [PATCH] 探索玩湃:接口开发

---
 cloud-server-other/src/main/java/com/dsh/other/feignclient/StoreClient.java |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 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 16b9a51..67097be 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,9 +1,13 @@
 package com.dsh.other.feignclient;
 
 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 java.util.List;
 
 @FeignClient(value = "mb-cloud-other")
 public interface StoreClient {
@@ -11,4 +15,12 @@
 
     @PostMapping("/storeDetail/courseOfSto")
     public StoreDetailOfCourse getCourseOfStore(@RequestBody Integer storeId);
+
+
+    @PostMapping("/storeDetail/nearbyStore")
+    List<StoreInfo> getAllNearbyStoreList(@RequestBody String longitude, @RequestBody String latitude);
+
+
+    @PostMapping("/storeDetail/storeOfLonLat")
+    public List<StoreLonLatList> getAllStoreLonLats(@RequestBody String longitude, @RequestBody String latitude);
 }

--
Gitblit v1.7.1