Merge branch 'dev'

master
wangsiyuan 2023-12-09 14:39:54 +08:00
commit fc80657dc5
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ public class HeartBeatService {
return ServerResponseEntity.fail("Invalid accessToken");
}
DeviceInfoDAO deviceInfoDAO = getDeviceInfoBySN(deviceInfo.getSN());
logger.info("deviceInfoDAO: {}",deviceInfoDAO);
if (deviceInfoDAO == null) {
// 设备信息不存在,可能是无效的设备
boolean isSuccess = addDeviceInfo(deviceInfo);