Commit 698559dc authored by 赵啸非's avatar 赵啸非

修改接口修改设备

parent 34e75af8
...@@ -371,9 +371,9 @@ public class DeviceApiController { ...@@ -371,9 +371,9 @@ public class DeviceApiController {
deviceService.update(deviceEntity, null); deviceService.update(deviceEntity, null);
} }
/* if (deviceEntity.getDeviceStatus() == DeviceStatusEnum.未激活.getValue()) { if (deviceEntity.getDeviceStatus() == DeviceStatusEnum.未激活.getValue()) {
throw new AppException(DEVICE_UNACTIVE, DEVICE_UNACTIVE_CONTENT); throw new AppException(DEVICE_UNACTIVE, DEVICE_UNACTIVE_CONTENT);
}*/ }
DeviceQueueAuthInfo authInfo = new DeviceQueueAuthInfo(); DeviceQueueAuthInfo authInfo = new DeviceQueueAuthInfo();
authInfo.setHost(host); authInfo.setHost(host);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment