Commit 762be98e authored by huanle's avatar huanle

0521

parent a3b33bed
...@@ -15,3 +15,6 @@ ...@@ -15,3 +15,6 @@
define('APP_PATH', __DIR__ . '/../application/'); define('APP_PATH', __DIR__ . '/../application/');
// 加载框架引导文件 // 加载框架引导文件
require __DIR__ . '/../thinkphp/start.php'; require __DIR__ . '/../thinkphp/start.php';
header("Access-Control-Allow-Origin:*");
header("Access-Control-Allow-Methods:GET, POST, OPTIONS, DELETE");
header("Access-Control-Allow-Headers:DNT,X-Mx-ReqToken,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type, Accept-Language, Origin, Accept-Encoding");
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment