From ce80a63a984dbf5a2f36c4214349cabf8d67b248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Wed, 17 Sep 2025 10:52:14 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E7=BE=BD=E5=A3=B0=20=E5=AD=97=E6=A0=B7?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Ceshi.php | 42 ++++++++++++++++++++++++++ application/common/controller/Push.php | 4 +-- application/extra/site.php | 2 +- 3 files changed, 45 insertions(+), 3 deletions(-) diff --git a/application/api/controller/Ceshi.php b/application/api/controller/Ceshi.php index a72556a..2b72f8a 100644 --- a/application/api/controller/Ceshi.php +++ b/application/api/controller/Ceshi.php @@ -786,7 +786,49 @@ class Ceshi extends Controller //数组末尾添加元素 array_push($res, '用户好友心跳删除失败!'); } + $reslut70 = db::name('vs_room_hot_value_log')->where('id','>', 0)->delete(); + if($reslut70){ + $i++ ; + }else{ + //数组末尾添加元素 + array_push($res, '房间热度值日志删除失败!'); + } + $reslut71 = db::name('vs_blind_box_turntable_results_log')->where('id','>', 0)->delete(); + if($reslut71){ + $i++ ; + }else{ + //数组末尾添加元素 + array_push($res, '盲盒转盘结果日志删除失败!'); + } + $reslut72 = db::name('vs_blind_box_turntable_log')->where('id','>', 0)->delete(); + if($reslut72){ + $i++ ; + }else{ + //数组末尾添加元素 + array_push($res, '盲盒转盘日志删除失败!'); + } + $reslut73 = db::name('vs_room_pan_xlh')->where('id','>', 0)->delete(); + if($reslut73){ + $i++ ; + }else{ + //数组末尾添加元素 + array_push($res, '房间寻乐会删除失败!'); + } + $reslut74 = db::name('vs_room_pan_xlh_log')->where('id','>', 0)->delete(); + if($reslut74){ + $i++ ; + }else{ + //数组末尾添加元素 + array_push($res, '房间寻乐会日志删除失败!'); + } + $reslut75 = db::name('vs_room_pan')->where('id','>', 0)->delete(); + if($reslut75){ + $i++ ; + }else{ + //数组末尾添加元素 + array_push($res, '房间盘删除失败!'); + } //数据提交 db::commit(); diff --git a/application/common/controller/Push.php b/application/common/controller/Push.php index e1ca46f..0de32d8 100644 --- a/application/common/controller/Push.php +++ b/application/common/controller/Push.php @@ -273,7 +273,7 @@ class Push // ======================================================================================================= -// ========================================羽声使用开始===================================================================== +// ========================================秘地使用开始===================================================================== //横幅礼物通知 public function giftBanner($gift_list) @@ -300,7 +300,7 @@ class Push -// =========================================羽声使用结束===================================================== +// =========================================秘地使用结束===================================================== // ============================================================================================================= diff --git a/application/extra/site.php b/application/extra/site.php index f7b106c..8333bc5 100644 --- a/application/extra/site.php +++ b/application/extra/site.php @@ -1,7 +1,7 @@ '羽声(Vespa)', + 'name' => '秘地', 'beian' => '', 'cdnurl' => '', 'version' => '1.0.3', From 877b4bffe15edf7e0f698e728c582ab9dfd03943 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Wed, 17 Sep 2025 11:02:33 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=86=85=E4=BE=A7=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=AE=9E=E5=90=8D=E5=90=8E100W=E5=85=85=E5=80=BC=E9=87=91?= =?UTF-8?q?=E5=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/model/UserData.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/api/model/UserData.php b/application/api/model/UserData.php index 6199d0f..8792145 100644 --- a/application/api/model/UserData.php +++ b/application/api/model/UserData.php @@ -344,6 +344,9 @@ class UserData extends Model if(!$reslut){ return ['code' => 0, 'msg' => '实名失败','data' =>null]; } + + //内侧用户充值100W金币 + db::name('user_wallet')->where('user_id',$user_id)->update(['coin' => 1000000,'updatetime' => time(),'createtime' => time()]); return ['code' => 1, 'msg' => '实名成功','data' =>null]; }