ソースを参照

删除跨域代码

shish 6 年 前
コミット
528f2f476e
1 ファイル変更0 行追加8 行削除
  1. 0 8
      app/client/web/index.php

+ 0 - 8
app/client/web/index.php

@@ -1,13 +1,5 @@
 <?php
 <?php
 
 
-//跨域临时解决方案 shish 2019.12.1
-header('Access-Control-Allow-Origin:*');
-// 响应类型
-header('Access-Control-Allow-Methods:*');
-// 响应头设置
-header('Access-Control-Allow-Headers:content-type,token,id,source,account');
-header("Access-Control-Request-Headers: Origin, X-Requested-With, content-Type, Accept, Authorization");
-
 //调用使用的输出方法
 //调用使用的输出方法
 function dd($out)
 function dd($out)
 {
 {