shawenguan пре 1 година
родитељ
комит
15c33d0534
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      Scripts/hbcpre/hbcpreHelper.js

+ 4 - 4
Scripts/hbcpre/hbcpreHelper.js

@@ -464,7 +464,7 @@ function handleCompoundIndex(){
     // id 活动id
     // random_num
     // content 内容html格式
-    collection.status = 0;
+    collection.status = 1;
     // collection.allow_state = 1;
     collection.begin_time = new Date().getTime() - 3600;
     collection.end_time = new Date().getTime() + 3600;
@@ -480,9 +480,9 @@ function handleCompoundIndex(){
         if(iData.user_count == 0){
             iData.user_count = iData.need_num;
         }
-        if(iData.count_num == 0){
-            iData.count_num = iData.need_num;
-        }
+        // if(iData.count_num == 0){
+        //     iData.count_num = iData.need_num;
+        // }
     }
 
     let randomList = data.randomcollection;