diff --git a/app/controller/api/WithdrawController.php b/app/controller/api/WithdrawController.php index 9ab514d..93cbf04 100644 --- a/app/controller/api/WithdrawController.php +++ b/app/controller/api/WithdrawController.php @@ -146,7 +146,7 @@ class WithdrawController return ApiResponseApp::success(null, '转账成功'); } else { UserRewardDao::base($user_id, 1, $money_no + 300, '提现失败返还'); - if ($res->ErrorMessage == "PayeeAccountNumberFormatError") { + if ($res->ErrorMessage == "PayeeAccountNameFormatError") { return ApiResponseApp::error(null, '收款人帐号格式错误'); } return ApiResponseApp::error(null, '未知错误请联系客服');