Qing il y a 1 semaine
Parent
commit
926f3792c6
1 fichiers modifiés avec 13 ajouts et 3 suppressions
  1. 13 3
      app/Http/Controllers/api/Home.php

+ 13 - 3
app/Http/Controllers/api/Home.php

@@ -1,4 +1,14 @@
 <?php
+/*
+ * @Author: Qing 948634023@qq.com
+ * @Date: 2026-01-13 20:52:55
+ * @LastEditors: Qing 948634023@qq.com
+ * @LastEditTime: 2026-03-09 21:03:50
+ * @FilePath: \bot-28\app\Http\Controllers\api\Home.php
+ * @Description: 
+ * ${git_name}
+ * Copyright (c) 2026 by ${git_name_email}, All Rights Reserved. 
+ */
 
 namespace App\Http\Controllers\api;
 
@@ -83,9 +93,9 @@ class Home extends Controller
 
     public function test()
     {
-        $sql = request()->input('sql', 'select * from bot_messages order by id desc limit 0,10;');
-        $res = DB::select($sql);
-        return $this->success($res);
+        // $sql = request()->input('sql', 'select * from bot_messages order by id desc limit 0,10;');
+        // $res = DB::select($sql);
+        // return $this->success($res);
     }
 
     public function setMyCommands()