Parcourir la source

删除跨域代码

shish il y a 6 ans
Parent
commit
204a41b7b9
1 fichiers modifiés avec 0 ajouts et 8 suppressions
  1. 0 8
      app/saas/web/index.php

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

@@ -1,13 +1,5 @@
 <?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)
 {