Commit 0ec1ebadaf85fd02b0c734a5efb38e9fa3dfaa1d
1 parent
e1285052
作业作品 家庭相册 改为免审、优化图文定时任务3
Showing
1 changed file
with
0 additions
and
6 deletions
src/main/java/com/cnlive/shenhe/serviceImpl/ContentServiceImpl.java
| @@ -447,12 +447,6 @@ public class ContentServiceImpl { | @@ -447,12 +447,6 @@ public class ContentServiceImpl { | ||
| 447 | //调用易盾网站检测接口 | 447 | //调用易盾网站检测接口 |
| 448 | JSONObject jsonObject = YiDunAntiFraudUtil.submitYiDunUrl(contentUrl); | 448 | JSONObject jsonObject = YiDunAntiFraudUtil.submitYiDunUrl(contentUrl); |
| 449 | if (jsonObject != null) { | 449 | if (jsonObject != null) { |
| 450 | - Integer code = jsonObject.getInteger("code"); | ||
| 451 | - String msg = jsonObject.getString("msg"); | ||
| 452 | - if (code != 200) { | ||
| 453 | - // |0待发布 |1已发布 |2已下线 | ||
| 454 | - callback(String.valueOf(shyContent.getId()), "机审审核拒绝", CommonConst.AUDIT_REFUSE, "", shyContent.getUpdater()); | ||
| 455 | - } | ||
| 456 | JSONObject result = jsonObject.getJSONObject("result"); | 450 | JSONObject result = jsonObject.getJSONObject("result"); |
| 457 | String dataId = result.getString("dataId"); | 451 | String dataId = result.getString("dataId"); |
| 458 | String taskId = result.getString("taskId"); | 452 | String taskId = result.getString("taskId"); |