From ceee6e7c3fa05d869a2ee3c4bfda5a034670f448 Mon Sep 17 00:00:00 2001 From: shinn-lancelot <945226793@qq.com> Date: Sat, 25 Aug 2018 13:55:48 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E5=AE=8C=E5=96=84=E5=90=8E=E5=8F=B0?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=EF=BC=8C=E9=AA=8C=E8=AF=81=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E3=80=81=E5=AE=89=E5=85=A8=E5=9F=9F=E5=90=8D=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +- admin.php | 7 +- asset/image/back.png | Bin 0 -> 43005 bytes common/addSafeDomainName.php | 47 +++++ common/clearDomainName.php | 51 +++++ common/clearVerify.php | 35 ++++ common/loginHandle.php | 32 +-- common/verifyHandle.php | 9 + login.php | 5 +- manageDomainName.php | 296 +++++++++++++++++++++++++++ manageVerify.php | 293 ++++++++++++++++++++++++++ safeDomainName.php | 386 +++++++++++++++++++++++++++++++++++ verify.php | 41 ++-- 13 files changed, 1163 insertions(+), 42 deletions(-) create mode 100644 asset/image/back.png create mode 100644 common/addSafeDomainName.php create mode 100644 common/clearDomainName.php create mode 100644 common/clearVerify.php create mode 100644 manageDomainName.php create mode 100644 manageVerify.php create mode 100644 safeDomainName.php diff --git a/.gitignore b/.gitignore index 0ef04d1..3da3316 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ .DS_Store /.cache /.vscode -*.txt \ No newline at end of file +*.txt +domainName.json \ No newline at end of file diff --git a/admin.php b/admin.php index 762a908..2d61d5f 100644 --- a/admin.php +++ b/admin.php @@ -164,12 +164,12 @@
添加微信公众号授权登录txt验证内容
+添加微信公众号授权登录域名验证文件内容
添加接口允许域名
+添加接口调用安全域名
登录
@@ -275,7 +275,6 @@ } else { loginState = 1; } - } else { console.log(xhr.readyState); } diff --git a/manageDomainName.php b/manageDomainName.php new file mode 100644 index 0000000..5848dc9 --- /dev/null +++ b/manageDomainName.php @@ -0,0 +1,296 @@ + + + + + + + + +