From 593973f5985488290e91e9e2558bc6191010f4e6 Mon Sep 17 00:00:00 2001 From: canglan Date: Sat, 4 Apr 2026 01:37:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96=E8=A1=A5=E5=85=A8?= =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.example | 12 +++++++++--- .gitignore | 2 +- INSTALL.md | 0 README.md | 2 +- USAGE.md | 0 5 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 INSTALL.md create mode 100644 USAGE.md diff --git a/.env.example b/.env.example index 09f22d4..5aa56d3 100644 --- a/.env.example +++ b/.env.example @@ -1,9 +1,15 @@ -# 数据库配置 +# MySQL 数据库配置 DB_HOST=localhost DB_PORT=3306 DB_USER=ClassManagerUser -DB_PASSWORD=your_secure_password_here +DB_PASSWORD=your_secure_password DB_NAME=ClassManagerDB # JWT 密钥(32 bytes) -JWT_SECRET_KEY=your_jwt_secret_key_change_this +JWT_SECRET_KEY=your_32_byte_jwt_secret_key + +# aliyun 短信配置 +ALIYUN_SMS_ACCESS_KEY_ID=your_aliyun_sms_access_key_id +ALIYUN_SMS_ACCESS_KEY_SECRET=your_aliyun_sms_access_key_secret +ALIYUN_SMS_SIGN_NAME=your_aliyun_sms_sign_name +ALIYUN_SMS_TEMPLATE_CODE=your_aliyun_sms_template_code diff --git a/.gitignore b/.gitignore index d35c4b5..9129aa2 100644 --- a/.gitignore +++ b/.gitignore @@ -38,4 +38,4 @@ Thumbs.db # 临时文件 *.tmp -*.bak \ No newline at end of file +*.bak diff --git a/INSTALL.md b/INSTALL.md new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md index a6f67a5..4f2da45 100644 --- a/README.md +++ b/README.md @@ -38,4 +38,4 @@ ## 许可证 -本项目使用[MIT License](LICENSE)许可证 \ No newline at end of file +本项目使用[MIT License](LICENSE)许可证 diff --git a/USAGE.md b/USAGE.md new file mode 100644 index 0000000..e69de29