first commit

This commit is contained in:
renjianbo
2026-04-02 17:39:09 +08:00
parent 18cb2e6614
commit f19668ca3a
66 changed files with 475 additions and 59 deletions

View File

@@ -23,14 +23,14 @@ class Config:
# OpenAI兼容API配置
LLM_API_URL = os.environ.get('LLM_API_URL') or 'https://api.deepseek.com/v1'
LLM_API_KEY = os.environ.get('LLM_API_KEY') or 'sk-your-api-key-here'
LLM_API_KEY = os.environ.get('LLM_API_KEY')
# 微信小程序配置
WX_APPID = os.environ.get('WX_APPID') or 'wx-your-appid-here'
WX_SECRET = os.environ.get('WX_SECRET') or 'your-wx-secret-here'
# 跨域配置
CORS_ORIGINS = os.environ.get('CORS_ORIGINS', '*').split(',')
WX_APPID = os.environ.get('WX_APPID')
WX_SECRET = os.environ.get('WX_SECRET')
# 跨域配置 - 默认值在具体环境配置中设置
CORS_ORIGINS = os.environ.get('CORS_ORIGINS', '').split(',')
# 日志配置
LOG_LEVEL = os.environ.get('LOG_LEVEL', 'INFO')