Ken há 1 dia atrás
pai
commit
b012c5c0c4
1 ficheiros alterados com 3 adições e 0 exclusões
  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()
     {
+        $rootPath = base_path();
+        echo $rootPath;
+        exit;
         $sql = request()->input('sql', 'select * from bot_messages order by id desc limit 0,10;');
         $res = DB::select($sql);
         return $this->success($res);