| | |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | | @FeignClient(contextId = "XpTestPointClient", value = ServiceNameConstantsEnum.XP_OPERATION_SERVICE, fallbackFactory = XpTestPointClientFallbackFactory.class) |
| | | public interface XpTestPointClient { |
| | | |
| | |
| | | R<XpTestPoint> queryById(@RequestParam Long id); |
| | | |
| | | |
| | | /** |
| | | * 点位详情 |
| | | */ |
| | | @GetMapping("/api/v1/testPoint/queryPointById") |
| | | R<List<XpTestPoint>> queryByIds(@RequestParam List<Long> ids); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 判断点位是在有效期内 |