Your Name 2 years ago
parent
commit
b83f48291f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      service/bill/lib/Cron.php

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

@@ -532,7 +532,7 @@ class Cron
                     $out = Dever::db('agent/member')->guidian(array('parent_mid'=>$v1,'start'=>$v2,'role'=>8,'prize_type'=>1));
                     if(isset($out) && $out){
                         foreach($out as $v3){
-                            $shop[$k]['out_money'][] = Dever::db('agent/order')->getVCount(array('parent_mid'=>$v3['id'],'start'=>$v2,'role'=>8,'state'=>1));
+                            $shop[$k]['out_money'][] = Dever::db('agent/order')->getVCount(array('mid'=>$v3['id'],'start'=>$v2,'role'=>8,'state'=>1));
                         }
                     }
                 }