From f6ba3e15355e22767e69f8fc14ae22523f8db8dc Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期三, 22 十一月 2023 19:33:58 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/PlayPai --- cloud-server-account/src/main/java/com/dsh/account/feignclient/other/StoreClient.java | 25 +++++++++++++++---------- 1 files changed, 15 insertions(+), 10 deletions(-) diff --git a/cloud-server-account/src/main/java/com/dsh/account/feignclient/other/StoreClient.java b/cloud-server-account/src/main/java/com/dsh/account/feignclient/other/StoreClient.java index b9abe55..14d268e 100644 --- a/cloud-server-account/src/main/java/com/dsh/account/feignclient/other/StoreClient.java +++ b/cloud-server-account/src/main/java/com/dsh/account/feignclient/other/StoreClient.java @@ -1,17 +1,13 @@ package com.dsh.account.feignclient.other; +import com.dsh.account.entity.OperatorUser; import com.dsh.account.feignclient.course.model.QueryStoreList; import com.dsh.account.feignclient.other.model.*; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; import java.util.List; - -/** - * @author zhibing.pu - * @date 2023/6/24 15:54 - */ -import org.springframework.web.bind.annotation.RequestBody; @FeignClient(value = "mb-cloud-other") @@ -20,7 +16,8 @@ - + @PostMapping("/store/queryByStoreId") + OperatorUser queryByStoreId(Integer storeId); /** @@ -38,9 +35,17 @@ @PostMapping("/base/protocol/storeDetail/nearbyStore") - List<StoreInfo> getAllNearbyStoreList(GetAllNearbyStoreList getAllNearbyStoreList); + List<StoreInfo> getAllNearbyStoreList(@RequestBody GetAllNearbyStoreList getAllNearbyStoreList); + @PostMapping("/base/protocol/storeDetail/citycodeLoLa") + List<StoreDetailList> getQueryStoreList(@RequestBody StoreOfCitycodeResp citycodeResp); - @PostMapping("/base/protocol/storeDetail/storeOfLonLat") - List<StoreLonLatList> getAllStoreLonLats(GetAllNearbyStoreList getAllNearbyStoreList); + /** + * 根据门店id获取门店信息 + * @param id + * @return + */ + @PostMapping("/store/queryStoreById") + Store queryStoreById(Integer id); + } -- Gitblit v1.7.1