| | |
| | | package com.dsh.other.feignclient; |
| | | |
| | | import com.dsh.other.feignclient.model.StoreDetailOfCourse; |
| | | import com.dsh.other.feignclient.model.*; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | | @FeignClient(value = "mb-cloud-other") |
| | | public interface StoreClient { |
| | | |
| | | |
| | | @PostMapping("/storeDetail/courseOfSto") |
| | | public StoreDetailOfCourse getCourseOfStore(@RequestBody Integer storeId); |
| | | @PostMapping("/base/protocol/storeDetail/courseOfSto") |
| | | StoreDetailOfCourse getCourseOfStore(@RequestParam("storeId") Integer storeId); |
| | | |
| | | |
| | | @PostMapping("/base/protocol/storeDetail/nearbyStore") |
| | | List<StoreInfo> getAllNearbyStoreList(@RequestBody GetAllNearbyStoreList list); |
| | | |
| | | |
| | | @PostMapping("/base/protocol/storeDetail/distanceCal") |
| | | double calculateDistance(@RequestBody GetDistanceVo distanceVo); |
| | | |
| | | @PostMapping("/base/protocol/storeDetail/citycodeLoLa") |
| | | List<StoreDetailList> getQueryStoreList(@RequestBody StoreOfCitycodeResp citycodeResp); |
| | | } |