package com.dsh.account.feignclient.other; 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 { /** * 获取门店列表 * @return */ @PostMapping("/store/queryStoreList") List queryStoreList(QueryStoreList queryStoreList); @PostMapping("/base/protocol/storeDetail/courseOfSto") public StoreDetailOfCourse getCourseOfStore(@RequestBody Integer storeId); @PostMapping("/base/protocol/storeDetail/nearbyStore") List getAllNearbyStoreList(@RequestBody GetAllNearbyStoreList getAllNearbyStoreList); @PostMapping("/base/protocol/storeDetail/citycodeLoLa") List getQueryStoreList(@RequestBody StoreOfCitycodeResp citycodeResp); /** * 根据门店id获取门店信息 * @param id * @return */ @PostMapping("/store/queryStoreById") Store queryStoreById(Integer id); }