|
@@ -1,4 +1,14 @@
|
|
|
<?php
|
|
<?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;
|
|
namespace App\Http\Controllers\api;
|
|
|
|
|
|
|
@@ -83,9 +93,9 @@ class Home extends Controller
|
|
|
|
|
|
|
|
public function test()
|
|
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()
|
|
public function setMyCommands()
|