Commit 8ff5b8a146529394e5dae029f650f67c0dbd6c57
1 parent
bfc34e7f
打印
Showing
2 changed files
with
4 additions
and
0 deletions
src/main/java/com/cnlive/shenhe/api/VideosControllerApi.java
| ... | ... | @@ -81,7 +81,9 @@ public class VideosControllerApi { |
| 81 | 81 | String category=CommonUtils.isEmpty(json.getString("multiplecategory"))?"":json.getString("multiplecategory"); |
| 82 | 82 | //获取视频上传人的id |
| 83 | 83 | String sid=CommonUtils.isEmpty(json.getString("videoClipsName"))?"":json.getString("videoClipsName"); |
| 84 | + logger.info("videoClipsName:"+sid); | |
| 84 | 85 | sid=CommonUtils.isEmpty(sid)?"":sid.split("_")[2]; |
| 86 | + logger.info("sid:"+sid); | |
| 85 | 87 | //初始化一个审核状态 |
| 86 | 88 | // Integer shenheType=3;//审核类型,1:免审,2:机审,3:人工审 |
| 87 | 89 | // shenheType=videosService.getShenheType(json.getInteger("spId"),category,sid); |
| ... | ... | @@ -160,6 +162,7 @@ public class VideosControllerApi { |
| 160 | 162 | shyVideos1.setShenhe_type(3); |
| 161 | 163 | } |
| 162 | 164 | } |
| 165 | + logger.info("当前视频类型是:"+shyVideos1.getShenhe_type()); | |
| 163 | 166 | boolean result = videosService.impotVideo(shyVideos1); |
| 164 | 167 | if (result == true) { |
| 165 | 168 | return new ResponseBean(ErrorEnum.SUCCESS); | ... | ... |
src/main/java/com/cnlive/shenhe/job/VideosJob.java
| ... | ... | @@ -43,6 +43,7 @@ public class VideosJob { |
| 43 | 43 | List<ShyVideos> shyVideosList = videosService.findshyVideo(shyVideos); |
| 44 | 44 | if (shyVideosList.size() > 0) { |
| 45 | 45 | for (ShyVideos video : shyVideosList) { |
| 46 | + logger.info("当前白名单通过的videos_id:"+video.getId()); | |
| 46 | 47 | video.setUpdater("白名单"); |
| 47 | 48 | // 更新点播和审核的视频状态 |
| 48 | 49 | videosService.updateDianboAndShenhe(video, 3); | ... | ... |