Authored by mali

鉴定视频错误

... ... @@ -107,8 +107,8 @@ public class UfoLiveController {
}
@RequestMapping(value = "/queryCurrentTime")
public ApiResponse queryCurrentTime(QNliveReq req) {
LOGGER.info("queryCurrentTime method in.");
public ApiResponse generateCurrentTime(QNliveReq req) {
LOGGER.info("generateCurrentTime method in.");
Integer currentTime;
try {
... ...
... ... @@ -213,6 +213,8 @@ public class UfoLiveService {
Optional<Integer> phoneCamera = Optional.ofNullable(req.getPhoneUid()).map(phoneUidCameraService::selectByphoneUid).map(PhoneUidCameraBo::getCameraCode);
if (phoneCamera.isPresent()) { // 优先获取手机唯一标识对应的摄像头编号
req.setCameraCode(null == phoneCamera.get() ? req.getCameraCode() : Integer.valueOf(phoneCamera.get()));
return phoneCamera.get();
}
... ...