ThinkPHP 5.1 跨域中間件

<?php namespace app\http\middleware; class CrossDomain { public function handle($request, \Closure $next) { header('Access-Control-Allow-Origin: *'); header("Access-Control-Allow-Headers: Authorizatio
相關文章
相關標籤/搜索