Commit 246d502e7332403fc2b2dc4d2d523c1be3952af0
1 parent
e985d343
clean
Showing
2 changed files
with
3 additions
and
1 deletions
src/main/java/com/cnlive/shenhe/job/YiDunUrlResultJob.java
| ... | ... | @@ -75,7 +75,9 @@ public class YiDunUrlResultJob { |
| 75 | 75 | logger.info("审核云查询易盾网站检测结果:{}", s1); |
| 76 | 76 | |
| 77 | 77 | // 4.解析接口返回值 |
| 78 | + logger.info("内容易盾网站检测请求:{}", params); | |
| 78 | 79 | JSONObject resultObject = JSONObject.parseObject(s1); |
| 80 | + logger.info("内容易盾网站检测结果:{}", resultObject.toJSONString()); | |
| 79 | 81 | int code = resultObject.getIntValue("code"); |
| 80 | 82 | String msg = resultObject.getString("msg"); |
| 81 | 83 | if (code == 200 && "ok".equals(msg)) { |
| ... | ... | @@ -88,6 +90,7 @@ public class YiDunUrlResultJob { |
| 88 | 90 | try { |
| 89 | 91 | JSONObject jsonObject = resultJsonArray.getJSONObject(i); |
| 90 | 92 | String dataId = jsonObject.getString("dataId"); |
| 93 | + logger.info(dataId + "内容易盾网站检测结果:{}", jsonObject.toJSONString()); | |
| 91 | 94 | ShyYidun yiDunMsg = yiDunService.getYiDunMsg(dataId); |
| 92 | 95 | if (yiDunMsg == null) { |
| 93 | 96 | continue; | ... | ... |
src/main/java/com/cnlive/shenhe/service/serviceImpl/ContentServiceImpl.java
| ... | ... | @@ -464,7 +464,6 @@ public class ContentServiceImpl implements ContentService { |
| 464 | 464 | */ |
| 465 | 465 | @Override |
| 466 | 466 | public void contentFilter(ShyContent shyContent) { |
| 467 | - logger.info("contentFilter接收的ShyContent对象:{}", shyContent.toString()); | |
| 468 | 467 | try { |
| 469 | 468 | String contentUrl = shyContent.getContent_url(); |
| 470 | 469 | logger.info("审核云向易盾网站检测接口提交的url:{}", contentUrl); | ... | ... |