wupengfei 2 years ago
parent
commit
7552da1fbf
1 changed files with 3 additions and 2 deletions
  1. 3 2
      application/api/controller/Timedtask.php

+ 3 - 2
application/api/controller/Timedtask.php

@@ -510,9 +510,10 @@ class Timedtask
                 $num = rand(20,40);
             }else if($k<8){
                 $num = rand(50,90);
-            }else{
-                $num = rand(15,30);
+            }else  if($k <  13){
+                $num = rand(1,3);
             }
+            if($num < 1) continue;
             $array =[];
             for ($i=0;$i<$num;$i++){
                 $rand_key = rand(0,9);