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