|
|
|
@ -132,14 +132,15 @@ public class InfraredController { |
|
|
|
@ResponseBody |
|
|
|
public List<InfraredBox> selectBoxData(@RequestBody InfraredBox infraredBox) { |
|
|
|
List<InfraredBox> list=new ArrayList<>(); |
|
|
|
if (StringUtils.isNotEmpty(infraredBox.getImgName())) { |
|
|
|
if (StringUtils.isNotEmpty(infraredBox.getgit ImgName())) { |
|
|
|
list = hikVisionService.selectInfraredBoxListByImgName(infraredBox.getImgName()); |
|
|
|
} |
|
|
|
return list; |
|
|
|
} |
|
|
|
|
|
|
|
@GetMapping("/ir/status") |
|
|
|
@PostMapping("/ir/status") |
|
|
|
public Map<String, Integer> getStatus() { |
|
|
|
log.info("stream close interface!!!"); |
|
|
|
Map<String, Integer> response = new HashMap<>(); |
|
|
|
response.put("code", 0); |
|
|
|
response.put("close", 1); |
|
|
|
|