|
|
@ -109,7 +109,12 @@ public class CheckDataUtils { |
|
|
|
//审核成功
|
|
|
|
if (0 == Integer.valueOf(res.get("code").toString())) { |
|
|
|
CheckResultDTO result = (CheckResultDTO) JSONObject.toJavaObject((JSONObject) res.get("data"), CheckResultDTO.class); |
|
|
|
if(200 == result.getDetails().get(0).getCode()){ |
|
|
|
return result; |
|
|
|
}else{ |
|
|
|
log.error("内容审核返回信息错误:" + res); |
|
|
|
return null; |
|
|
|
} |
|
|
|
} else { |
|
|
|
log.error("内容审核返回信息错误:" + res); |
|
|
|
return null; |
|
|
@ -158,7 +163,12 @@ public class CheckDataUtils { |
|
|
|
//审核成功
|
|
|
|
if (0 == Integer.valueOf(res.get("code").toString())) { |
|
|
|
CheckResultDTO result = (CheckResultDTO) JSONObject.toJavaObject((JSONObject) res.get("data"), CheckResultDTO.class); |
|
|
|
if(200 == result.getDetails().get(0).getCode()){ |
|
|
|
return result; |
|
|
|
}else{ |
|
|
|
log.error("内容审核返回信息错误:" + res); |
|
|
|
return null; |
|
|
|
} |
|
|
|
} else { |
|
|
|
log.error("内容审核返回信息错误:" + res); |
|
|
|
return null; |
|
|
|