|
|
@@ -94,7 +94,7 @@ class MoneyOut extends Backend
|
|
|
$amount = $row->real_amount;
|
|
|
$action = MoneyLog::Withdraw;
|
|
|
}
|
|
|
- $action = $status == $this->model::Success? MoneyLog::Withdraw :MoneyLog::Reject;
|
|
|
+
|
|
|
(new MoneyLog())->change($row->user_id, $amount, $action, $row->user_id, '提现');
|
|
|
$result = $row->allowField(true)->save(['status'=>$status]);
|
|
|
Db::commit();
|