Ken hai 1 día
pai
achega
b012c5c0c4
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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);