This commit is contained in:
Lemon
2024-01-06 15:10:31 +08:00
parent 82bd1862ee
commit cb67aec179
3 changed files with 108 additions and 44 deletions

View File

@@ -52,8 +52,12 @@ public class CameraController extends BaseController {
public CameraCommonResult receiveIdentifyResults(@RequestBody JSONObject jsonObject) {
logger.info("相机系统接收识别结果 params:{}", jsonObject);
CameraCommonResult result = new CameraCommonResult();
// 调用service方法处理
cameraService.receiveIdentifyResults(jsonObject);
try {
// 调用service方法处理
cameraService.receiveIdentifyResults(jsonObject);
} catch (Exception e) {
logger.error("相机系统接收识别结果 error,", e);
}
return result.successResponse();
}