摘要:
laravel 生成的SQL DB::connection()->enableQueryLog(); print_r(DB::getQueryLog()); 查看数据库的字段 SELECT COLUMN_NAME FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE 阅读全文
摘要:
1、在app\Http\Middleware 下创建CrossHttp.php配置文件;(添加允许跨域的域名) <?php namespace App\Http\Middleware; use Closure; class CrossHttp { /** * Handle an incoming r 阅读全文