fix: 注释掉VIP等级奖励逻辑,避免不必要的积分增加

This commit is contained in:
lingling 2025-02-28 18:15:47 +08:00
parent 61c582ba8d
commit 725833bd0e
1 changed files with 5 additions and 5 deletions

View File

@ -304,12 +304,12 @@ class Vip_rewardController
}
$UserReward = UserReward::where('memo', '首次VIP'.$vip_id.'等级奖励')->where('user_id', $user_id)->get();
//判断是否有
if ($UserReward->count() > 0) {
UserRewardDao::base($user_id, 6, $money, 'VIP'.$vip_id.'等级奖励');
}else{
UserRewardDao::base($user_id, 6, $new_money, '首次VIP'.$vip_id.'等级奖励');
// if ($UserReward->count() > 0) {
// UserRewardDao::base($user_id, 6, $money, 'VIP'.$vip_id.'等级奖励');
// }else{
// UserRewardDao::base($user_id, 6, $new_money, '首次VIP'.$vip_id.'等级奖励');
}
// }
return ApiResponseApp::success('领取成功');
}