| | |
| | | package com.dsh.course.feignclient.other; |
| | | |
| | | import com.dsh.course.feignclient.other.model.GetDistanceVo; |
| | | import com.dsh.course.feignclient.other.model.Store; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | */ |
| | | @PostMapping("/store/queryStoreById") |
| | | Store queryStoreById(Integer id); |
| | | |
| | | @PostMapping("/base/protocol/storeDetail/distanceCal") |
| | | public long calculateDistance(@RequestBody GetDistanceVo distanceVo); |
| | | } |