Commit 378d49ce5b67f2a72e0f6c60df105e5500fbf71e

Authored by 徐近程
1 parent 7862429f

免审update

src/main/java/com/cnlive/shenhe/serviceImpl/VideosServiceImpl.java
... ... @@ -417,21 +417,21 @@ public class VideosServiceImpl {
417 417 if(sites.contains(shyVideo.getSpid())){
418 418 shenheType=1;//免审
419 419 }
420   - //如果栏目是“目击者”
421   - if(CommonUtils.isNotEmpty(shyVideo.getCategory()) && shyVideo.getCategory().equals(CommonConst.CATEGORY_WITNESS)){
422   - //如果用户id存在
423   - if(CommonUtils.isNotEmpty(shyVideo.getVideo_user_id())){
424   - ShyUsersfree shyUserfree=usersfreeServiceImpl.selectUser(shyVideo.getSpid(), shyVideo.getCategory(), shyVideo.getVideo_user_id());
425   - //如果存在免审用户
426   - if(CommonUtils.isNotNull(shyUserfree)){
427   - shenheType=1;//免审
428   - }else{//用户不免审
429   - shenheType=2;//机审
430   - }
431   - }else{//如果用户id不存在
432   - shenheType=2;//机审
433   - }
434   - }
  420 +// //如果栏目是“目击者”
  421 +// if(CommonUtils.isNotEmpty(shyVideo.getCategory()) && shyVideo.getCategory().equals(CommonConst.CATEGORY_WITNESS)){
  422 +// //如果用户id存在
  423 +// if(CommonUtils.isNotEmpty(shyVideo.getVideo_user_id())){
  424 +// ShyUsersfree shyUserfree=usersfreeServiceImpl.selectUser(shyVideo.getSpid(), shyVideo.getCategory(), shyVideo.getVideo_user_id());
  425 +// //如果存在免审用户
  426 +// if(CommonUtils.isNotNull(shyUserfree)){
  427 +// shenheType=1;//免审
  428 +// }else{//用户不免审
  429 +// shenheType=2;//机审
  430 +// }
  431 +// }else{//如果用户id不存在
  432 +// shenheType=2;//机审
  433 +// }
  434 +// }
435 435 //如果栏目是朋友圈
436 436 if(CommonUtils.isNotEmpty(shyVideo.getCategory()) && shyVideo.getCategory().equals(CommonConst.CATEGORY_MOMENT)){
437 437 shenheType=1;//免审
... ...