Commit 24dd1145bad3446bdd4182620f34641289edcfbd
1 parent
7f519c9a
update
Showing
1 changed file
with
4 additions
and
3 deletions
src/main/java/com/cnlive/shenhe/serviceImpl/VideosServiceImpl.java
| @@ -457,16 +457,17 @@ public class VideosServiceImpl { | @@ -457,16 +457,17 @@ public class VideosServiceImpl { | ||
| 457 | //获取点播免审sp | 457 | //获取点播免审sp |
| 458 | List<Integer> sites = sitesService.getBusinessList(CommonConst.BUSINESS_VIDEO); | 458 | List<Integer> sites = sitesService.getBusinessList(CommonConst.BUSINESS_VIDEO); |
| 459 | List<Integer> shyActivities = shyActivityImpl.selectByExample(CommonConst.AUDIT_TYPE_FREE); | 459 | List<Integer> shyActivities = shyActivityImpl.selectByExample(CommonConst.AUDIT_TYPE_FREE); |
| 460 | - logger.info("sites" + sites.toString()); | 460 | + logger.info("免审渠道列表:{}====sites:{}", JSON.toJSONString(shyActivities), sites.toString()); |
| 461 | String source = shyVideo.getSource(); | 461 | String source = shyVideo.getSource(); |
| 462 | //初始化一个审核状态 | 462 | //初始化一个审核状态 |
| 463 | //审核类型,1:免审,2:机审,3:人工审 | 463 | //审核类型,1:免审,2:机审,3:人工审 |
| 464 | Integer shenheType = 3; | 464 | Integer shenheType = 3; |
| 465 | //如果当前sp是免审sp | 465 | //如果当前sp是免审sp |
| 466 | - if (sites.contains(shyVideo.getSpid()) || shyActivities.contains(source)) { | 466 | + if (sites.contains(shyVideo.getSpid()) || shyActivities.contains(Integer.valueOf(source))) { |
| 467 | + logger.info("进入已经免审渠道:{}", source); | ||
| 467 | //免审 | 468 | //免审 |
| 468 | shenheType = 1; | 469 | shenheType = 1; |
| 469 | - } else if ("edu_work".equals(source)) { | 470 | + } else if ("10000".equals(source)) { |
| 470 | //机审 | 471 | //机审 |
| 471 | shenheType = 2; | 472 | shenheType = 2; |
| 472 | } else { | 473 | } else { |