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