From 725833bd0e465b15297b0a4c5f4ed832ce102d27 Mon Sep 17 00:00:00 2001 From: lingling <1077478963@qq.com> Date: Fri, 28 Feb 2025 18:15:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B3=A8=E9=87=8A=E6=8E=89VIP=E7=AD=89?= =?UTF-8?q?=E7=BA=A7=E5=A5=96=E5=8A=B1=E9=80=BB=E8=BE=91=EF=BC=8C=E9=81=BF?= =?UTF-8?q?=E5=85=8D=E4=B8=8D=E5=BF=85=E8=A6=81=E7=9A=84=E7=A7=AF=E5=88=86?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controller/api/Vip_rewardController.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/controller/api/Vip_rewardController.php b/app/controller/api/Vip_rewardController.php index 3f1e420..61cbab5 100644 --- a/app/controller/api/Vip_rewardController.php +++ b/app/controller/api/Vip_rewardController.php @@ -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('领取成功'); }