Files
AIGC/demo/tencent-config-template.properties
AIGC Developer a13ff70055 feat: 实现邮箱验证码登录和腾讯云SES集成
- 实现邮箱验证码登录功能,支持自动注册新用户
- 修复验证码生成逻辑,确保前后端验证码一致
- 添加腾讯云SES webhook回调接口,支持6种邮件事件
- 配置ngrok内网穿透支持,允许外部访问
- 优化登录页面UI,采用全屏背景和居中布局
- 清理调试代码和未使用的导入
- 添加完整的配置文档和测试脚本
2025-10-23 17:50:12 +08:00

43 lines
1.6 KiB
Properties
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 腾讯云邮件推送服务配置模板
# 请根据您的腾讯云账号信息填写以下配置
# ===========================================
# 1. API密钥配置必填
# ===========================================
# 在腾讯云控制台 → 访问管理 → API密钥管理 中获取
tencent.cloud.secret-id=请填写您的SecretId
tencent.cloud.secret-key=请填写您的SecretKey
# ===========================================
# 2. 邮件推送服务配置(必填)
# ===========================================
# 服务地域(通常使用北京)
tencent.cloud.ses.region=ap-beijing
# 发件人邮箱需要在腾讯云SES中验证
tencent.cloud.ses.from-email=请填写您的发件人邮箱
# 发件人名称
tencent.cloud.ses.from-name=AIGC Demo
# 邮件模板ID可选如不使用模板可留空
tencent.cloud.ses.template-id=
# ===========================================
# 3. 使用说明
# ===========================================
# 1. 复制此文件为 application-tencent.properties
# 2. 填写上述配置信息
# 3. 在 application.properties 中设置 spring.profiles.active=tencent
# 4. 重启应用即可使用腾讯云邮件服务
# ===========================================
# 4. 配置示例
# ===========================================
# tencent.cloud.secret-id=AKID1234567890abcdef1234567890abcdef
# tencent.cloud.secret-key=abcdef1234567890abcdef1234567890
# tencent.cloud.ses.region=ap-beijing
# tencent.cloud.ses.from-email=noreply@yourdomain.com
# tencent.cloud.ses.from-name=AIGC Demo
# tencent.cloud.ses.template-id=123456