Compare commits

...

2 Commits

1 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ class WithdrawController
'username' => $user->username, 'username' => $user->username,
'status_text' => '申请中', 'status_text' => '申请中',
]); ]);
//大于1000等待管理员审核 //大于1000积分等待管理员审核
if ($money_no >= 100000) { if ($money_no >= 100000) {
//用户积分减少$money //用户积分减少$money
UserRewardDao::base($user_id, 1, - ($money_no + self::$handlingFee), '提现'); UserRewardDao::base($user_id, 1, - ($money_no + self::$handlingFee), '提现');
@ -187,7 +187,7 @@ class WithdrawController
// if ($res->ErrorMessage == "PayeeAccountNameFormatError") { // if ($res->ErrorMessage == "PayeeAccountNameFormatError") {
// return ApiResponseApp::error(null, '收款人帐号格式错误'); // return ApiResponseApp::error(null, '收款人帐号格式错误');
// } // }
return ApiResponseApp::error(null, $errorMsg); return ApiResponseApp::error(null, $res->ErrorMessage);
} }
} }