header("Access-Control-Allow-Origin: *"); class Index extends Api {}
//允许跨域的域名,多个以,分隔 'cors_request_domain' => 'localhost,127.0.0.1',