Commit 62c6d7f7 authored by KeYong's avatar KeYong

修改错误信息

parent 988624ec
...@@ -885,7 +885,7 @@ public class TopographyController extends AbstractBaseController { ...@@ -885,7 +885,7 @@ public class TopographyController extends AbstractBaseController {
try { try {
entity = iotFeign.selectList(getAppKey(), getProduct(), getToken(), beginDate, endDate, prefix, suffix, fieldKey); entity = iotFeign.selectList(getAppKey(), getProduct(), getToken(), beginDate, endDate, prefix, suffix, fieldKey);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); throw new RuntimeException("调用AMOS-API-IOT服务失败,请检查服务是否正常!");
} }
if (200 == entity.getStatus() && !ObjectUtils.isEmpty(entity.getResult())) { if (200 == entity.getStatus() && !ObjectUtils.isEmpty(entity.getResult())) {
String json = JSON.toJSONString(entity.getResult()); String json = JSON.toJSONString(entity.getResult());
...@@ -1046,7 +1046,7 @@ public class TopographyController extends AbstractBaseController { ...@@ -1046,7 +1046,7 @@ public class TopographyController extends AbstractBaseController {
try { try {
entity = iotFeign.selectList(getAppKey(), getProduct(), getToken(), beginDate, endDate, prefix, suffix, st); entity = iotFeign.selectList(getAppKey(), getProduct(), getToken(), beginDate, endDate, prefix, suffix, st);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); throw new RuntimeException("调用AMOS-API-IOT服务失败,请检查服务是否正常!");
} }
if (200 == entity.getStatus() && !ObjectUtils.isEmpty(entity.getResult())) { if (200 == entity.getStatus() && !ObjectUtils.isEmpty(entity.getResult())) {
String json = JSON.toJSONString(entity.getResult()); String json = JSON.toJSONString(entity.getResult());
......
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