fix/login-verification-email-template #26

Merged
moyin merged 9 commits from fix/login-verification-email-template into main 2025-12-25 20:57:25 +08:00
Showing only changes of commit 07601b6d79 - Show all commits

View File

@@ -78,16 +78,25 @@ pnpm run dev
### 🧪 快速测试 ### 🧪 快速测试
```bash ```bash
# Windows # 运行综合测试(推荐)
.\test-api.ps1 .\test-comprehensive.ps1
# Linux/macOS # 跳过限流测试(更快)
./test-api.sh .\test-comprehensive.ps1 -SkipThrottleTest
# 测试远程服务器
.\test-comprehensive.ps1 -BaseUrl "https://your-server.com"
``` ```
**测试内容:** **测试内容:**
- ✅ 应用状态检查
- ✅ 邮箱验证码发送与验证 - ✅ 邮箱验证码发送与验证
- ✅ 用户注册与登录 - ✅ 用户注册与登录
- ✅ 验证码登录功能
- ✅ 密码重置流程
- ✅ 邮箱冲突检测
- ✅ 验证码冷却时间清除
- ✅ 限流保护机制
- ✅ Redis文件存储功能 - ✅ Redis文件存储功能
- ✅ 邮件测试模式 - ✅ 邮件测试模式
@@ -323,9 +332,8 @@ pnpm run test:watch
# 生成测试覆盖率报告 # 生成测试覆盖率报告
pnpm run test:cov pnpm run test:cov
# API功能测试 # API功能测试(综合测试脚本)
.\test-api.ps1 # Windows .\test-comprehensive.ps1
./test-api.sh # Linux/macOS
``` ```
### 📈 测试覆盖率 ### 📈 测试覆盖率