From 640ff18d2d7f4be02ddb7f8f75e899f05545eb98 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期一, 05 二月 2024 11:56:52 +0800 Subject: [PATCH] 更新bug修改 --- 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 035d317..461a683 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,6 @@ 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 com.dsh.other.feignclient.model.*; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @@ -16,13 +13,16 @@ @PostMapping("/base/protocol/storeDetail/courseOfSto") - StoreDetailOfCourse getCourseOfStore(@RequestParam("storeId") Integer storeId); + StoreDetailOfCourse getCourseOfStore(@RequestParam("storeId") Integer storeId); @PostMapping("/base/protocol/storeDetail/nearbyStore") List<StoreInfo> getAllNearbyStoreList(@RequestBody GetAllNearbyStoreList list); - @PostMapping("/base/protocol/storeDetail/storeOfLonLat") - List<StoreLonLatList> getAllStoreLonLats(@RequestBody GetAllNearbyStoreList list); + @PostMapping("/base/protocol/storeDetail/distanceCal") + double calculateDistance(@RequestBody GetDistanceVo distanceVo); + + @PostMapping("/base/protocol/storeDetail/citycodeLoLa") + List<StoreDetailList> getQueryStoreList(@RequestBody StoreOfCitycodeResp citycodeResp); } -- Gitblit v1.7.1