修改扣款逻辑

This commit is contained in:
lingling 2025-02-22 22:57:32 +08:00
parent 10c0d16d8a
commit cf00d1d6d9
1 changed files with 4 additions and 2 deletions

View File

@ -124,6 +124,8 @@ class WithdrawController
]);
//大于1000等待管理员审核
if ($money >= 100000) {
//用户积分减少$money
UserRewardDao::base($user_id, 1, - ($money_no + 300), '提现');
return ApiResponseApp::success(null, '等待管理员审核');
}
//用户积分减少$money