|
@ -74,6 +74,7 @@ public class ThirdDataInputController {
|
|
|
} catch (ServiceException e){
|
|
|
return Envelop.getError(e.getMessage());
|
|
|
} catch (Exception e){
|
|
|
System.out.println("deviceRegistration="+jsonData);
|
|
|
e.printStackTrace();
|
|
|
return Envelop.getError("设备注册失败");
|
|
|
}
|
|
@ -98,6 +99,7 @@ public class ThirdDataInputController {
|
|
|
} catch (ServiceException e){
|
|
|
return Envelop.getError(e.getMessage());
|
|
|
} catch (Exception e){
|
|
|
System.out.println("uploadDeviceData="+jsonData);
|
|
|
e.printStackTrace();
|
|
|
return Envelop.getError("上传设备失败,请检查data是否过长。");
|
|
|
}
|
|
@ -122,6 +124,7 @@ public class ThirdDataInputController {
|
|
|
} catch (ServiceException e){
|
|
|
return Envelop.getError(e.getMessage());
|
|
|
} catch (Exception e){
|
|
|
System.out.println("uploadDeviceInfo="+jsonData);
|
|
|
e.printStackTrace();
|
|
|
return Envelop.getError("设备状态信息上传失败");
|
|
|
}
|