Files
hyapi-server/configs/env.testing.yaml
2026-04-23 22:16:12 +08:00

51 lines
1.3 KiB
YAML
Raw Permalink 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.

# 🧪 测试环境配置
# 只包含与默认配置不同的配置项
# ===========================================
# 🌍 环境标识
# ===========================================
app:
env: testing
# ===========================================
# 🌐 服务器配置
# ===========================================
server:
mode: test
# ===========================================
# 🗄️ 数据库配置
# ===========================================
database:
password: Hk4nR9mP3qW7vL2x
name: hyapi_test
# ===========================================
# 📦 Redis配置
# ===========================================
redis:
db: 15
# ===========================================
# 📝 日志配置
# ===========================================
logger:
level: debug
# ===========================================
# 🔐 JWT配置
# ===========================================
jwt:
secret: test-jwt-secret-key-for-testing-only
# ===========================================
# 📱 短信服务配置
# ===========================================
sms:
# 短信服务商切换tencent / aliyun
provider: "tencent"
# 滑块验证码配置
captcha_enabled: true # 是否启用滑块验证码
captcha_secret: "" # 阿里云验证码密钥(可选)
scene_id: "wynt39to" # 阿里云验证码场景ID