Sign in
刘鹏伟
/
party
·
Commits
GitLab
Back to dashboard
Project
Activity
Files
Commits
Network
Graphs
Milestones
Issues
0
Merge Requests
0
Labels
Wiki
Download as
Email Patches
Plain Diff
Browse Code »
Commit
d3c95ad205a2f1e6d24d1088bb352a4386e9ab1d
Authored by
程雨佳
2020-01-09 18:49:20 +0800
1 parent
e2b0b39e
解决跨域问题
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
phpapi/apicp.SignIn.php
phpapi/apicp.SignIn.php
View file @
d3c95ad
1
1
<?php
2
2
/**
3
+ * 后台登录验证
4
+ * 跨域处理,以及请求头token验证
5
+ */
6
+ header('Access-Control-Allow-Origin:*');
7
+ header("Access-Control-Allow-Methods:GET,POST");
8
+
9
+ /**
3
10
* 通过姓名签到
4
11
*/
5
12
...
...