Commit 9f75e66b authored by 廖旭伟's avatar 廖旭伟

修改测试bug

parent 9d9cdac3
...@@ -25,10 +25,7 @@ import com.mortals.xhx.busiz.rsp.situation.ComplexStituationInfo; ...@@ -25,10 +25,7 @@ import com.mortals.xhx.busiz.rsp.situation.ComplexStituationInfo;
import com.mortals.xhx.busiz.rsp.work.ComplexWorkInfo; import com.mortals.xhx.busiz.rsp.work.ComplexWorkInfo;
import com.mortals.xhx.common.code.ApiRespCodeEnum; import com.mortals.xhx.common.code.ApiRespCodeEnum;
import com.mortals.xhx.protocol.complex.ComplexApiRest; import com.mortals.xhx.protocol.complex.ComplexApiRest;
import com.mortals.xhx.protocol.complex.matter.model.rsp.DictInfo; import com.mortals.xhx.protocol.complex.matter.model.rsp.*;
import com.mortals.xhx.protocol.complex.matter.model.rsp.HandlingRspInfo;
import com.mortals.xhx.protocol.complex.matter.model.rsp.HandlingRspInfoList;
import com.mortals.xhx.protocol.complex.matter.model.rsp.MatterListInfo;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.apache.commons.math3.Field; import org.apache.commons.math3.Field;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
...@@ -304,7 +301,7 @@ public class ComplexApiController { ...@@ -304,7 +301,7 @@ public class ComplexApiController {
if (ObjectUtil.isEmpty(rest)) { if (ObjectUtil.isEmpty(rest)) {
throw new AppException("请求访问超时"); throw new AppException("请求访问超时");
} }
Rest<List<DictInfo>> eventRest = JSON.parseObject(rest, new TypeReference<Rest<List<DictInfo>>>() { Rest<List<AcceptRspInfo>> eventRest = JSON.parseObject(rest, new TypeReference<Rest<List<AcceptRspInfo>>>() {
}); });
return JSON.toJSONString(eventRest); return JSON.toJSONString(eventRest);
} catch (Exception e) { } catch (Exception e) {
......
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