package com.dsh.other.feignclient;
|
|
import com.dsh.other.feignclient.model.StoreDetailOfCourse;
|
import com.dsh.other.feignclient.model.StoreInfo;
|
import com.dsh.other.feignclient.model.StoreLonLatList;
|
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 {
|
|
|
@PostMapping("/storeDetail/courseOfSto")
|
public StoreDetailOfCourse getCourseOfStore(@RequestBody Integer storeId);
|
|
|
@PostMapping("/storeDetail/nearbyStore")
|
List<StoreInfo> getAllNearbyStoreList(@RequestBody String longitude, @RequestBody String latitude);
|
|
|
@PostMapping("/storeDetail/storeOfLonLat")
|
public List<StoreLonLatList> getAllStoreLonLats(@RequestBody String longitude, @RequestBody String latitude);
|
}
|