摘要:
记不住 方便自己查询 DB::connection()->enableQueryLog(); print_r(DB::getQueryLog()); 阅读全文
摘要:
1、在app\Http\Middleware 下创建CrossHttp.php配置文件;(添加允许跨域的域名) <?php namespace App\Http\Middleware; use Closure; class CrossHttp { /** * Handle an incoming r 阅读全文