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