diff --git a/app/controller/api/WithdrawController.php b/app/controller/api/WithdrawController.php index e8c92d5..6c5f077 100644 --- a/app/controller/api/WithdrawController.php +++ b/app/controller/api/WithdrawController.php @@ -129,7 +129,7 @@ class WithdrawController 'username' => $user->username, 'status_text' => '申请中', ]); - //大于1000等待管理员审核 + //大于1000积分等待管理员审核 if ($money_no >= 100000) { //用户积分减少$money UserRewardDao::base($user_id, 1, - ($money_no + self::$handlingFee), '提现'); @@ -178,13 +178,13 @@ class WithdrawController } $withdraw->update([ 'status' => 5, // - 'status_text' => '支付错误:'.$errorMsg + 'status_text' => '支付错误:'.$res->ErrorMessage ]); UserRewardDao::base($user_id, 1, $money_no + self::$handlingFee, '提现失败返还'); // if ($res->ErrorMessage == "PayeeAccountNameFormatError") { // return ApiResponseApp::error(null, '收款人帐号格式错误'); // } - return ApiResponseApp::error(null, $errorMsg); + return ApiResponseApp::error(null, $res->ErrorMessage); } }