|
|
@@ -1,12 +1,12 @@
|
|
|
<?php
|
|
|
|
|
|
-//跨域临时解决方案 shish 2019.12.1
|
|
|
-header('Access-Control-Allow-Origin:*');
|
|
|
-// 响应类型
|
|
|
-header('Access-Control-Allow-Methods:GET,POST,PUT,DELETE,OPTIONS');
|
|
|
-// 响应头设置
|
|
|
-header('Access-Control-Allow-Headers:token,id,source,account,Origin,X-Requested-With,Content-Type,Accept');
|
|
|
-header('Access-Control-Max-Age:1728000');
|
|
|
+////跨域临时解决方案 shish 2019.12.1
|
|
|
+//header('Access-Control-Allow-Origin:*');
|
|
|
+//// 响应类型
|
|
|
+//header('Access-Control-Allow-Methods:GET,POST,PUT,DELETE,OPTIONS');
|
|
|
+//// 响应头设置
|
|
|
+//header('Access-Control-Allow-Headers:token,id,source,account,Origin,X-Requested-With,Content-Type,Accept');
|
|
|
+//header('Access-Control-Max-Age:1728000');
|
|
|
|
|
|
|
|
|
require(__DIR__ . '/../../../vendor/autoload.php');
|