Merge branch 'dev'

This commit is contained in:
2023-12-09 14:39:54 +08:00

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);