wupengfei 2 лет назад
Родитель
Сommit
57779ca5dd
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      application/api/controller/Timedtask.php

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

@@ -500,7 +500,7 @@ class Timedtask
 
     public function createVirChildren()
     {
-        $list =  Db::name('store_member')->field('id')->where('is_vir',1)->select();
+        $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(30,80);
         $password = '920211ming';