Quellcode durchsuchen

报警信息传输云端

gao.qiang vor 1 Monat
Ursprung
Commit
f13426211c

+ 1 - 1
hazard-admin/src/main/java/com/ozs/web/controller/accountmanagment/BaseCameraManagementController.java

@@ -1045,7 +1045,7 @@ public class BaseCameraManagementController extends BaseController {
      * @return
      */
     @GetMapping("/nightVision/{code}/{mode}")
-    public AjaxResult nightVision(@PathVariable String code, Integer mode) {
+    public AjaxResult nightVision(@PathVariable("code") String code,@PathVariable("mode") Integer mode) {
         BaseCameraManagement baseCameraManagement = baseCameraManagementService.getOne(new LambdaQueryWrapper<BaseCameraManagement>()
                 .eq(BaseCameraManagement::getCameraCode, code));
         PublishClient.configFrameRate(baseCameraManagement, mode);