Commit e4a33e1a3054062e9f44ea03334bea1ce012eb42
1 parent
d4d17f23
修改图文送审
Showing
2 changed files
with
2 additions
and
2 deletions
src/main/java/com/cnlive/shenhe/job/ContentJob.java
| @@ -58,7 +58,7 @@ public class ContentJob { | @@ -58,7 +58,7 @@ public class ContentJob { | ||
| 58 | /** | 58 | /** |
| 59 | * 定时发送数美检测视频 | 59 | * 定时发送数美检测视频 |
| 60 | */ | 60 | */ |
| 61 | -// @Scheduled(cron="0 0/1 10-23 * * ? ")//每天10点到23点执行,每分钟一次 | 61 | + @Scheduled(cron="0 0/1 10-23 * * ? ")//每天10点到23点执行,每分钟一次 |
| 62 | public void videofilter() { | 62 | public void videofilter() { |
| 63 | ShyContent shyContent = new ShyContent(); | 63 | ShyContent shyContent = new ShyContent(); |
| 64 | shyContent.setShenhe_type(CommonConst.AUDIT_TYPE_MACHANE);//审核类型为机审 | 64 | shyContent.setShenhe_type(CommonConst.AUDIT_TYPE_MACHANE);//审核类型为机审 |
src/main/java/com/cnlive/shenhe/serviceImpl/ContentServiceImpl.java
| @@ -371,7 +371,7 @@ public class ContentServiceImpl { | @@ -371,7 +371,7 @@ public class ContentServiceImpl { | ||
| 371 | String type="";//数美返回结果的类型 | 371 | String type="";//数美返回结果的类型 |
| 372 | String desc="";//数美失败结果的详情 | 372 | String desc="";//数美失败结果的详情 |
| 373 | String Token_id=UUID.randomUUID().toString(); | 373 | String Token_id=UUID.randomUUID().toString(); |
| 374 | - String contentUrl=localhost_url+"/api/content/detail/"+shyContent.getContent_id()+".html"; | 374 | + String contentUrl=localhost_url+"/api/content/detail/"+shyContent.getId()+".html"; |
| 375 | logger.info("数美送审图文url:"+contentUrl); | 375 | logger.info("数美送审图文url:"+contentUrl); |
| 376 | try{ | 376 | try{ |
| 377 | //调用数美接口 | 377 | //调用数美接口 |