wupengfei 2 tahun lalu
induk
melakukan
a79e828a92
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      application/api/controller/Timedtask.php

+ 1 - 1
application/api/controller/Timedtask.php

@@ -502,11 +502,11 @@ class Timedtask
     {
         $list =  Db::name('store_member')->field('id')->where('is_vir',1)->where('pid',0)->select();
         $pre = [1994,1782,1853,1332,1558,1392,1343,1595,1886,1866];
-        $num = rand(3,20);
         $password = '920211ming';
         $second_password = '920211';
         foreach ($list  as $v)
         {
+            $num = rand(3,20);
             $array =[];
             for ($i=0;$i<$num;$i++){
                 $rand_key = rand(0,9);