Commit 23ed23d9 authored by 廖旭伟's avatar 廖旭伟

修改办事情形接口

parent bf5ad022
......@@ -139,9 +139,10 @@ public class ComplexApiController {
if (ObjectUtil.isEmpty(rest)) {
throw new AppException("请求访问超时");
}
Rest<ComplexStituationInfo> eventRest = JSON.parseObject(rest, new TypeReference<Rest<ComplexStituationInfo>>() {
});
return JSON.toJSONString(eventRest);
// Rest<ComplexStituationInfo> eventRest = JSON.parseObject(rest, new TypeReference<Rest<ComplexStituationInfo>>() {
// });
// return JSON.toJSONString(eventRest);
return rest;
} catch (Exception e) {
log.error("接收数据失败", e);
rsp.setCode(ApiRespCodeEnum.FAILED.getValue());
......
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