Ken 1 天之前
父节点
当前提交
b012c5c0c4
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      app/Http/Controllers/api/Home.php

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

@@ -81,6 +81,9 @@ class Home extends Controller
 
 
     public function test()
     public function test()
     {
     {
+        $rootPath = base_path();
+        echo $rootPath;
+        exit;
         $sql = request()->input('sql', 'select * from bot_messages order by id desc limit 0,10;');
         $sql = request()->input('sql', 'select * from bot_messages order by id desc limit 0,10;');
         $res = DB::select($sql);
         $res = DB::select($sql);
         return $this->success($res);
         return $this->success($res);