|
@@ -1,7 +1,7 @@
|
|
<?php
|
|
<?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");
|
|
|
|
|
|
+header('Access-Control-Allow-Origin:*');
|
|
|
|
+header('Access-Control-Allow-Methods:*');
|
|
|
|
+header('Access-Control-Allow-Headers:x-requested-with,content-type');
|
|
// +----------------------------------------------------------------------
|
|
// +----------------------------------------------------------------------
|
|
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
|
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
|
// +----------------------------------------------------------------------
|
|
// +----------------------------------------------------------------------
|