From eb6b6dbb35a9f029e0b7d269773685c19fd40976 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期四, 11 七月 2024 10:47:51 +0800 Subject: [PATCH] 玩湃微信商户认证代码 --- cloud-server-other/src/main/java/com/dsh/other/feignclient/StoreClient.java | 18 +++++++++++------- 1 files changed, 11 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 0dc55b4..b51e0d7 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 @@ -11,19 +11,23 @@ @FeignClient(value = "mb-cloud-other") public interface StoreClient { - + /** + * 根据运营商id获取对应运营商商户号 + * @return + */ + @PostMapping("/base/getSMIDByOperatorId") + String getSMIDByOperatorId(Integer id); @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") - public long calculateDistance(@RequestBody GetDistanceVo distanceVo); + double calculateDistance(@RequestBody GetDistanceVo distanceVo); + + @PostMapping("/base/protocol/storeDetail/citycodeLoLa") + List<StoreDetailList> getQueryStoreList(@RequestBody StoreOfCitycodeResp citycodeResp); } -- Gitblit v1.7.1