| | |
| | | * @author guoshilong |
| | | */ |
| | | @FeignClient( |
| | | value = "blade-fire" |
| | | value = "blade-fire", |
| | | fallback = IFireClientFallback.class |
| | | ) |
| | | public interface IFireClient { |
| | | String API_PREFIX = "/client"; |
| | |
| | | String FIRE_ALARM_INCIDENT = API_PREFIX + "/fireAlarmIncident"; |
| | | |
| | | @GetMapping(REAL_TIME) |
| | | List<FireVO> getRealtime(@RequestParam("time") String time); |
| | | R<List<FireVO>> getRealtime(@RequestParam("time") String time); |
| | | |
| | | @PostMapping(FIRE_ALARM_INCIDENT) |
| | | BladePage<FireVO> selectFirePage(@RequestParam("current") Integer current, @RequestParam("size") Integer size, @RequestBody FireVO fire); |
| | | R<BladePage<FireVO>> selectFirePage(@RequestParam("current") Integer current, @RequestParam("size") Integer size, @RequestBody FireVO fire); |
| | | |
| | | String DISASTER_ASSESSMENT =API_PREFIX + "/disasterAssessment"; |
| | | |
| | | @PostMapping(DISASTER_ASSESSMENT) |
| | | FireSupplementEntity getSupplementOne(@RequestBody FireSupplementEntity fireSupplementEntity); |
| | | R<FireSupplementEntity> getSupplementOne(@RequestBody FireSupplementEntity fireSupplementEntity); |
| | | } |