SUCCESS状态码判断调整

master
wj 2 years ago
parent e6e1907672
commit e1195f8690

@ -249,7 +249,7 @@ public class DlAllDataService {
String data = spGetHttp.pullData(exportType);
cn.hutool.json.JSONObject obj = JSONUtil.parseObj(data);
Integer code = obj.getInt("code");
if (!code.equals(ResultEnum.SUCCESS.getCode())) {
if (!code.equals(20000)) {
log.error("从UDI自助平台拉取数据错误报文-----{}", data);
return;
}

Loading…
Cancel
Save