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] =?UTF-8?q?=E5=86=85=E4=BE=A7=E7=94=A8=E6=88=B7=E5=AE=9E?= =?UTF-8?q?=E5=90=8D=E5=90=8E100W=E5=85=85=E5=80=BC=E9=87=91=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]; }