|
@@ -1013,8 +1013,8 @@ public class BaseCameraManagementController extends BaseController {
|
|
|
* @param code
|
|
|
* @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>()
|
|
|
.eq(BaseCameraManagement::getCameraCode, code));
|
|
|
PublishClient.confidenceCoefficient(baseCameraManagement,fps);
|