xieruidong il y a 2 ans
Parent
commit
f0ebcca8bd
1 fichiers modifiés avec 0 ajouts et 2 suppressions
  1. 0 2
      application/common/command/TakeCashQueryCommand.php

+ 0 - 2
application/common/command/TakeCashQueryCommand.php

@@ -33,8 +33,6 @@ 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);
-                    }
-                    if($cash['check_status']==2){
                         User::money($this['amount'],$cash['user_id'],MoneyLog::TYPE_TAKECASH_REJECT,'提现打款失败');
                     }
                     $cash->save();