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,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 public void videofilter() { 52 public void videofilter() {
53 logger.info("审核云提交网页审核到易盾..........."); 53 logger.info("审核云提交网页审核到易盾...........");
54 List<ShyContent> shyContentList = contentService.findShyContentWithWebPage(); 54 List<ShyContent> shyContentList = contentService.findShyContentWithWebPage();
src/main/java/com/cnlive/shenhe/serviceImpl/ContentServiceImpl.java
@@ -364,8 +364,10 @@ public class ContentServiceImpl { @@ -364,8 +364,10 @@ public class ContentServiceImpl {
364 //免审 364 //免审
365 shenheType = 1; 365 shenheType = 1;
366 } else { 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 shenheType = 2; 371 shenheType = 2;
370 } else { 372 } else {
371 //人工审 373 //人工审