From 61bbd595ee2bc3c67b40878894dcc07174c6eea6 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期二, 24 九月 2024 10:15:30 +0800 Subject: [PATCH] 玩湃微信商户分账 --- cloud-server-account/src/main/java/com/dsh/account/feignclient/other/StoreClient.java | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 50 insertions(+), 2 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 09f6ba7..376aca4 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,14 +1,62 @@ package com.dsh.account.feignclient.other; -import com.dsh.account.feignclient.other.model.StoreDetailOfCourse; +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; + + @FeignClient(value = "mb-cloud-other") public interface StoreClient { + /** + * 根据运营商id获取对应运营商分账比例 返回格式: 微信分账比例,支付宝分账比例 + * @return + */ + @PostMapping("/base/getProportionByOperatorId") + String getProportionByOperatorId(Integer id); + /** + * 根据运营商id获取对应运营商支付宝商户号 + * @return + */ + @PostMapping("/base/getSMIDByOperatorId") + String getSMIDByOperatorId(Integer id); + // 根据运营商id获取微信商户号 + @PostMapping("/base/getmerchantNumberByOperatorId") + String getmerchantNumberByOperatorId(Integer id); + + @PostMapping("/store/queryByStoreId") + OperatorUser queryByStoreId(Integer storeId); + + /** + * 获取门店列表 + * + * @return + */ + @PostMapping("/store/queryStoreList") + List<Store> queryStoreList(QueryStoreList queryStoreList); - @PostMapping("/storeDetail/courseOfSto") + @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