|
@@ -40,5 +40,15 @@ public class UserController extends BaseController {
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
+ /**
|
|
|
+ * 获取相机详情
|
|
|
+ * userId 用户id
|
|
|
+ */
|
|
|
+ @PostMapping("/getCameraDetail")
|
|
|
+ public ResultData getCameraDetail(@RequestBody CameraParam cameraParam){
|
|
|
+ if(cameraParam.getUserId() == null){
|
|
|
+ throw new BusinessException(ResultCode.PARAM_MISS);
|
|
|
+ }
|
|
|
+ return ResultData.ok(cameraService.pageList(cameraParam));
|
|
|
+ }
|
|
|
}
|