Browse Source

定义视频集中监控访问接口

zhongwei
段飞宇 1 year ago
parent
commit
8c26dfd583
  1. 16
      hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/controller/CameraInfoController.java

16
hzims-service/inspect/src/main/java/com/hnac/hzinfo/inspect/ai/controller/CameraInfoController.java

@ -1,8 +1,12 @@
package com.hnac.hzinfo.inspect.ai.controller; package com.hnac.hzinfo.inspect.ai.controller;
import com.alibaba.fastjson.JSON;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.hnac.hzims.common.logs.annotation.OperationAnnotation;
import com.hnac.hzims.common.logs.enums.BusinessType;
import com.hnac.hzims.common.logs.enums.OperatorType;
import com.hnac.hzinfo.inspect.ai.entity.CameraInfoEntity; import com.hnac.hzinfo.inspect.ai.entity.CameraInfoEntity;
import com.hnac.hzinfo.inspect.ai.service.ICameraInfoService; import com.hnac.hzinfo.inspect.ai.service.ICameraInfoService;
import io.swagger.annotations.*; import io.swagger.annotations.*;
@ -161,4 +165,16 @@ public class CameraInfoController extends BladeController {
return R.status(cameraInfoService.deleteLogic(Func.toLongList(ids))); return R.status(cameraInfoService.deleteLogic(Func.toLongList(ids)));
} }
/**
* 视频集中监控
* @return
*/
@OperationAnnotation(moduleName = "视频集中监控",title = "视频集中监控",operatorType = OperatorType.MOBILE,
businessType = BusinessType.GENCODE,action = "查询视频监控")
@GetMapping("/ofmonitoring")
public R ofmonitoring(){
return R.success("视频监控调用成功");
}
} }

Loading…
Cancel
Save