laravel 打印SQL 打印SQL:DB::connection()->enableQueryLog(); 这里是SQL执行语句... $logs = DB::getQueryLog();dd($logs);