|
@@ -1013,8 +1013,8 @@ public class BaseCameraManagementController extends BaseController {
|
|
* @param code
|
|
* @param code
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @GetMapping("/switchFrameRate/{code}/{fps}")
|
|
|
|
- public AjaxResult switchFrameRate(@PathVariable String code,String fps){
|
|
|
|
|
|
+ @GetMapping("/switchFrameRate")
|
|
|
|
+ public AjaxResult switchFrameRate(@RequestParam("code") String code,@RequestParam("fps") String fps){
|
|
BaseCameraManagement baseCameraManagement = baseCameraManagementService.getOne(new LambdaQueryWrapper<BaseCameraManagement>()
|
|
BaseCameraManagement baseCameraManagement = baseCameraManagementService.getOne(new LambdaQueryWrapper<BaseCameraManagement>()
|
|
.eq(BaseCameraManagement::getCameraCode, code));
|
|
.eq(BaseCameraManagement::getCameraCode, code));
|
|
PublishClient.confidenceCoefficient(baseCameraManagement,fps);
|
|
PublishClient.confidenceCoefficient(baseCameraManagement,fps);
|