|
@@ -117,6 +117,12 @@ public class DeviceController {
|
|
HttpUtil.responseApiCode(request, response, ApiCode.INVALID_TOKEN);
|
|
HttpUtil.responseApiCode(request, response, ApiCode.INVALID_TOKEN);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ device.setIaas_eid("");
|
|
|
|
+ device.setIaas_name("");
|
|
|
|
+ device.setIaas_uid("");
|
|
|
|
+ device.setIaas_token("");
|
|
|
|
+ device.setIaas_pwd("");
|
|
|
|
+ device.setTokenOld("");
|
|
HttpUtil.responseOkData(request, response, device);
|
|
HttpUtil.responseOkData(request, response, device);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -163,6 +169,12 @@ public class DeviceController {
|
|
device.setIaas_expiration(new Timestamp(Long.valueOf(mapRes.get("expiration").toString())));
|
|
device.setIaas_expiration(new Timestamp(Long.valueOf(mapRes.get("expiration").toString())));
|
|
device = deviceService.Update(device);
|
|
device = deviceService.Update(device);
|
|
|
|
|
|
|
|
+ device.setIaas_eid("");
|
|
|
|
+ device.setIaas_name("");
|
|
|
|
+ device.setIaas_uid("");
|
|
|
|
+ device.setIaas_token("");
|
|
|
|
+ device.setIaas_pwd("");
|
|
|
|
+ device.setTokenOld("");
|
|
HttpUtil.responseOkData(request, response, device);
|
|
HttpUtil.responseOkData(request, response, device);
|
|
}
|
|
}
|
|
|
|
|