Commit 275ec11d authored by 赵啸非's avatar 赵啸非

修改上下线通知

parent da3ab932
......@@ -263,11 +263,13 @@ public class DeviceApiController {
//log.error("接收数据失败", e);
rsp.setCode(e.getCode());
rsp.setMsg(e.getMessage());
log.info("响应【设备注册】【响应体】--> " + JSONObject.toJSONString(rsp));
return JSON.toJSONString(rsp);
} catch (Exception e) {
log.error("接收数据异常", e);
rsp.setCode(ApiRespCodeEnum.FAILED.getValue());
rsp.setMsg(e.getMessage());
log.info("响应【设备注册】【响应体】--> " + JSONObject.toJSONString(rsp));
return JSON.toJSONString(rsp);
}
//log.info("响应【设备注册】【响应体】--> " + JSONObject.toJSONString(rsp));
......
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