From 40672adb8c7ebd91fedd107a4822209469117fbf Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Wed, 9 Jul 2025 13:43:17 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=B3=A8=E5=86=8C):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=9A=90=E7=A7=81=E6=94=BF=E7=AD=96=E5=90=8C=E6=84=8F=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E5=B9=B6=E5=88=9B=E5=BB=BA=E9=9A=90=E7=A7=81=E6=94=BF?= =?UTF-8?q?=E7=AD=96=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加隐私政策同意检查到开发者注册流程,要求用户必须同意隐私政策才能注册 创建隐私政策文档并更新导航链接从index.html到index.php --- developer/register.php | 8 ++++++ docs/app_review_standards.php | 2 +- docs/privacy_policy.php | 46 +++++++++++++++++++++++++++++++++++ 3 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 docs/privacy_policy.php diff --git a/developer/register.php b/developer/register.php index 50c8049..4c89eb0 100644 --- a/developer/register.php +++ b/developer/register.php @@ -71,6 +71,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { $error = '用户名、邮箱和密码不能为空'; } elseif (empty($_POST['agree'])) { $error = '必须同意 APP 审核标准才能注册'; + } elseif (empty($_POST['agree_privacy'])) { + $error = '必须同意隐私政策才能注册'; } elseif (!filter_var($email, FILTER_VALIDATE_EMAIL)) { $error = '请输入有效的邮箱地址'; } else { @@ -213,6 +215,12 @@ $mail->AuthType = 'PLAIN'; // 尝试使用PLAIN认证方式 +
+ + +
diff --git a/docs/app_review_standards.php b/docs/app_review_standards.php index 67f2b3c..de28a9d 100644 --- a/docs/app_review_standards.php +++ b/docs/app_review_standards.php @@ -47,7 +47,7 @@