Browse Source

/*zlmedia流关闭回调接口;*/

master
htjcAdmin 7 months ago
parent
commit
d709782155
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/main/java/com/inspect/simulator/controller/InfraredController.java

+ 3
- 2
src/main/java/com/inspect/simulator/controller/InfraredController.java View File

@ -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);


Loading…
Cancel
Save