xieruidong 2 lat temu
rodzic
commit
0dd49ae855

+ 1 - 1
application/common/command/TakeCashQueryCommand.php

@@ -33,7 +33,7 @@ class TakeCashQueryCommand extends Command{
                     $cash['check_status']=$data['detail_status']=='SUCCESS'?1:2;
                     if($cash['check_status']==2) {
                         $cash['check_data'] = $data['fail_reason'] ?? json_encode($data, 256);
-                        User::money($this['amount'],$cash['user_id'],MoneyLog::TYPE_TAKECASH_REJECT,'提现打款失败');
+                        User::money($cash['amount'],$cash['user_id'],MoneyLog::TYPE_TAKECASH_REJECT,'提现打款失败');
                     }
                     $cash->save();
                 }