dever 3 yıl önce
ebeveyn
işleme
e30732005f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      service/option/lib/Cash.php

+ 1 - 1
service/option/lib/Cash.php

@@ -256,7 +256,7 @@ class Cash
                         Dever::db('option/cash')->update($update);
 
                         # 获取待发放数据 对之前发放的数据进行发放
-                        $fafang = Dever::db('option/bill_fafang')->find(array('status' => 2, 'type' => $info['type'], 'aid' => $info['aid']));
+                        $fafang = Dever::db('option/bill_fafang')->find(array('status' => 2, 'type' => $v['type'], 'aid' => $info['aid']));
                         if ($fafang) {
                             foreach ($fafang as $v1) {
                                 if ($cash['total'] >= $v1['cash']) {