feat(server): 添加图片生成服务和配置更新

This commit is contained in:
2026-03-13 22:20:10 +08:00
parent 5f94129236
commit c850623a48
5 changed files with 149 additions and 19 deletions

View File

@@ -36,6 +36,12 @@ class Settings(BaseSettings):
wx_appid: str = ""
wx_secret: str = ""
# 微信云托管配置
wx_cloud_env: str = ""
# Gemini 图片生成配置
gemini_api_key: str = ""
# JWT 配置
jwt_secret_key: str = "your-super-secret-key-change-in-production"
jwt_expire_hours: int = 168 # 7天