fix: 注释掉VIP等级奖励逻辑,避免不必要的积分增加
This commit is contained in:
parent
61c582ba8d
commit
725833bd0e
|
@ -304,12 +304,12 @@ class Vip_rewardController
|
||||||
}
|
}
|
||||||
$UserReward = UserReward::where('memo', '首次VIP'.$vip_id.'等级奖励')->where('user_id', $user_id)->get();
|
$UserReward = UserReward::where('memo', '首次VIP'.$vip_id.'等级奖励')->where('user_id', $user_id)->get();
|
||||||
//判断是否有
|
//判断是否有
|
||||||
if ($UserReward->count() > 0) {
|
// if ($UserReward->count() > 0) {
|
||||||
UserRewardDao::base($user_id, 6, $money, 'VIP'.$vip_id.'等级奖励');
|
// UserRewardDao::base($user_id, 6, $money, 'VIP'.$vip_id.'等级奖励');
|
||||||
}else{
|
// }else{
|
||||||
UserRewardDao::base($user_id, 6, $new_money, '首次VIP'.$vip_id.'等级奖励');
|
// UserRewardDao::base($user_id, 6, $new_money, '首次VIP'.$vip_id.'等级奖励');
|
||||||
|
|
||||||
}
|
// }
|
||||||
return ApiResponseApp::success('领取成功');
|
return ApiResponseApp::success('领取成功');
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue