Commit 55f1c0a79ddbc6494b266d50ed47b767a610d88d

Authored by 宋亚南
1 parent 636f4024

仅对特定sp实施手动审核设置

src/main/java/com/cnlive/shenhe/api/ContentControllerApi.java
@@ -56,11 +56,13 @@ public class ContentControllerApi { @@ -56,11 +56,13 @@ public class ContentControllerApi {
56 shyContent.setContent_tag(newContentTag); 56 shyContent.setContent_tag(newContentTag);
57 //获取审核类型 57 //获取审核类型
58 Integer spId = json.getInteger("spId"); 58 Integer spId = json.getInteger("spId");
59 - Integer shenheType = CommonConst.AUDIT_TYPE_USER;//暂时人工审核  
60 - if (spId!=null&&spId.intValue()==1607){ 59 + Integer shenheType;
  60 + if (spId != null && (spId == 1423 || spId == 1955 || spId == 1946 || spId == 1714 || spId == 1807 || spId == 1715
  61 + || spId == 1137 || spId == 1199 || spId == 1607 || spId == 577 || spId == 1877 || spId == 1815 || spId == 1935)) {
  62 + shenheType = CommonConst.AUDIT_TYPE_USER;//暂时人工审核
  63 + } else {
61 shenheType = contentService.getShenheType(json.getInteger("spId"), newContentTag); 64 shenheType = contentService.getShenheType(json.getInteger("spId"), newContentTag);
62 } 65 }
63 -  
64 List<ShyContent> contentList = contentService.findShyContent(shyContent); 66 List<ShyContent> contentList = contentService.findShyContent(shyContent);
65 if (contentList.size() > 0) { 67 if (contentList.size() > 0) {
66 ShyContent shyContent1 = contentList.get(0); 68 ShyContent shyContent1 = contentList.get(0);
src/main/java/com/cnlive/shenhe/entity/ShyVideos.java
@@ -399,9 +399,10 @@ public class ShyVideos { @@ -399,9 +399,10 @@ public class ShyVideos {
399 * @return shenhe_type - 审核类型,1:免审,2:机审,3:人工审 399 * @return shenhe_type - 审核类型,1:免审,2:机审,3:人工审
400 */ 400 */
401 public Integer getShenhe_type() { 401 public Integer getShenhe_type() {
402 - if (source!=null)  
403 - return shenhe_type;  
404 - return CommonConst.AUDIT_TYPE_USER;//暂时人工审核 402 + if (spid != null && (spid == 1423 || spid == 1955 || spid == 1946 || spid == 1714 || spid == 1807 || spid == 1715
  403 + || spid == 1137 || spid == 1199 || spid == 1607 || spid == 577 || spid == 1877 || spid == 1815 || spid == 1935))
  404 + return CommonConst.AUDIT_TYPE_USER;//暂时人工审核
  405 + return shenhe_type;
405 } 406 }
406 407
407 /** 408 /**