rabin %!s(int64=3) %!d(string=hai) anos
pai
achega
32f40e45ce
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      service/bill/lib/Cron.php

+ 1 - 1
service/bill/lib/Cron.php

@@ -578,7 +578,7 @@ class Cron
                 }
 
                 foreach ($member as $k1 => $v1) {
-                    $vinfo = Dever::db('agent/member')->find($v1['mid']);
+                    $vinfo = Dever::db('agent/member')->find(array('parent_mid' => $v1['mid'], 'role' => 8));
                     //$vinfo = Dever::db('agent/order')->select(array('parent_mid' => $v1['mid'], 'role' => 8));
                     if ($vinfo) {
                         foreach ($vinfo as $v2) {