From 631a5aa09e0147ca81fffcb1434e57b1cd1ba6f6 Mon Sep 17 00:00:00 2001 From: lisy <linlangsur163@163.com> Date: 星期三, 09 八月 2023 09:34:53 +0800 Subject: [PATCH] app端口:积分变动记录增加变动类型字段,代码同步更新;积分兑换操作的数量校验功能完善 --- cloud-server-account/src/main/java/com/dsh/account/feignclient/other/StoreClient.java | 37 ++++++++++++++++++++++--------------- 1 files changed, 22 insertions(+), 15 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 a3469b0..cdd5a74 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 @@ -4,21 +4,18 @@ import com.dsh.account.feignclient.other.model.*; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; - -import java.util.List; - -/** - * @author zhibing.pu - * @date 2023/6/24 15:54 - */ -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 { + + + + + /** @@ -29,14 +26,24 @@ List<Store> queryStoreList(QueryStoreList queryStoreList); - @PostMapping("/storeDetail/courseOfSto") - StoreDetailOfCourse getCourseOfStore(@RequestBody Integer storeId); - @PostMapping("/storeDetail/nearbyStore") - List<StoreInfo> getAllNearbyStoreList(GetAllNearbyStoreList getAllNearbyStoreList); + @PostMapping("/base/protocol/storeDetail/courseOfSto") + public StoreDetailOfCourse getCourseOfStore(@RequestBody Integer storeId); - @PostMapping("/storeDetail/storeOfLonLat") - List<StoreLonLatList> getAllStoreLonLats(GetAllNearbyStoreList getAllNearbyStoreList); + @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