Commit 31f7c2402b546d113e5217a2b6ac043afa42fd9a

Authored by 郑超
1 parent 99ab1fa9

update

src/main/java/com/cnlive/shenhe/job/ContentJob.java
... ... @@ -48,7 +48,7 @@ public class ContentJob {
48 48 * 定时向易盾提交网站地址
49 49 * //每分钟一次
50 50 */
51   - @Scheduled(cron = "0 0/1 * * * ? ")
  51 + @Scheduled(cron = "0 0/5 * * * ? ")
52 52 public void videofilter() {
53 53 logger.info("审核云提交网页审核到易盾...........");
54 54 List<ShyContent> shyContentList = contentService.findShyContentWithWebPage();
... ...
src/main/java/com/cnlive/shenhe/serviceImpl/ContentServiceImpl.java
... ... @@ -364,8 +364,10 @@ public class ContentServiceImpl {
364 364 //免审
365 365 shenheType = 1;
366 366 } else {
367   - if ("content".equals(ContentTag) || ContentTag.startsWith("cms_") || ContentTag.startsWith("edu_")) {
  367 + if ("content".equals(ContentTag)) {
368 368 //机审
  369 + shenheType = 1;
  370 + } else if (ContentTag.startsWith("cms_") || ContentTag.startsWith("edu_")) {
369 371 shenheType = 2;
370 372 } else {
371 373 //人工审
... ...