From ae9bfd2d66f68a553786ac78b12f4390e65e4e09 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期五, 24 十一月 2023 18:30:18 +0800 Subject: [PATCH] 后台bug修改 --- cloud-server-account/src/main/java/com/dsh/account/feignclient/other/StoreClient.java | 37 ++++++++++++++++++++++++++++++++----- 1 files changed, 32 insertions(+), 5 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 0495a35..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,18 +1,23 @@ 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.Store; +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 - */ + @FeignClient(value = "mb-cloud-other") public interface StoreClient { + + + + + @PostMapping("/store/queryByStoreId") + OperatorUser queryByStoreId(Integer storeId); /** @@ -21,4 +26,26 @@ */ @PostMapping("/store/queryStoreList") List<Store> queryStoreList(QueryStoreList queryStoreList); + + + + + @PostMapping("/base/protocol/storeDetail/courseOfSto") + public StoreDetailOfCourse getCourseOfStore(@RequestBody Integer storeId); + + + @PostMapping("/base/protocol/storeDetail/nearbyStore") + List<StoreInfo> getAllNearbyStoreList(@RequestBody GetAllNearbyStoreList getAllNearbyStoreList); + + @PostMapping("/base/protocol/storeDetail/citycodeLoLa") + List<StoreDetailList> getQueryStoreList(@RequestBody StoreOfCitycodeResp citycodeResp); + + /** + * 根据门店id获取门店信息 + * @param id + * @return + */ + @PostMapping("/store/queryStoreById") + Store queryStoreById(Integer id); + } -- Gitblit v1.7.1