Commit ea7f662e6595371aa706900be158f8dd4df735e4
1 parent
f69e5bbb
update
Showing
2 changed files
with
0 additions
and
23 deletions
src/main/java/com/cnlive/shenhe/api/VideosControllerApi.java
| @@ -174,25 +174,6 @@ public class VideosControllerApi { | @@ -174,25 +174,6 @@ public class VideosControllerApi { | ||
| 174 | logger.info("当前视频类型是:"+shyVideos1.getShenhe_type()); | 174 | logger.info("当前视频类型是:"+shyVideos1.getShenhe_type()); |
| 175 | boolean result = videosService.impotVideo(shyVideos1); | 175 | boolean result = videosService.impotVideo(shyVideos1); |
| 176 | 176 | ||
| 177 | - if("9".equals(source)){ | ||
| 178 | - ShyVideos shyVideos = new ShyVideos(); | ||
| 179 | - shyVideos.setShenhe_type(CommonConst.AUDIT_TYPE_FREE);// 审核类型为免审 | ||
| 180 | - shyVideos.setState(CommonConst.AUDIT_INTT);// 审核状态为未审核 | ||
| 181 | - List<ShyVideos> shyVideosList = videosService.findshyVideo(shyVideos); | ||
| 182 | - if (shyVideosList.size() > 0) { | ||
| 183 | - for (ShyVideos video : shyVideosList) { | ||
| 184 | - String source1 = video.getSource(); | ||
| 185 | - if(!"9".equals(source1)){ | ||
| 186 | - continue; | ||
| 187 | - } | ||
| 188 | - logger.info("当前白名单通过的videos_id:"+video.getId()); | ||
| 189 | - video.setUpdater("白名单"); | ||
| 190 | - // 更新点播和审核的视频状态 | ||
| 191 | - videosService.updateDianboAndShenhe(video, 3); | ||
| 192 | - } | ||
| 193 | - } | ||
| 194 | - } | ||
| 195 | - | ||
| 196 | if (result == true) { | 177 | if (result == true) { |
| 197 | return new ResponseBean(ErrorEnum.SUCCESS); | 178 | return new ResponseBean(ErrorEnum.SUCCESS); |
| 198 | } else { | 179 | } else { |
src/main/java/com/cnlive/shenhe/job/VideosJob.java
| @@ -43,10 +43,6 @@ public class VideosJob { | @@ -43,10 +43,6 @@ public class VideosJob { | ||
| 43 | List<ShyVideos> shyVideosList = videosService.findshyVideo(shyVideos); | 43 | List<ShyVideos> shyVideosList = videosService.findshyVideo(shyVideos); |
| 44 | if (shyVideosList.size() > 0) { | 44 | if (shyVideosList.size() > 0) { |
| 45 | for (ShyVideos video : shyVideosList) { | 45 | for (ShyVideos video : shyVideosList) { |
| 46 | - String source = video.getSource(); | ||
| 47 | - if("9".equals(source)){ | ||
| 48 | - continue; | ||
| 49 | - } | ||
| 50 | logger.info("当前白名单通过的videos_id:"+video.getId()); | 46 | logger.info("当前白名单通过的videos_id:"+video.getId()); |
| 51 | video.setUpdater("白名单"); | 47 | video.setUpdater("白名单"); |
| 52 | // 更新点播和审核的视频状态 | 48 | // 更新点播和审核的视频状态 |