feat: rebuild pet app and backend around core care flows
This commit is contained in:
@@ -1,43 +1,33 @@
|
||||
server:
|
||||
port: 9090
|
||||
mode: debug # debug | release
|
||||
mode: release
|
||||
|
||||
mysql:
|
||||
host: 127.0.0.1
|
||||
port: 3306
|
||||
postgres:
|
||||
host: 192.168.100.127
|
||||
port: 5432
|
||||
user: root
|
||||
password: root
|
||||
database: pets
|
||||
charset: utf8mb4
|
||||
database: sundynix-pets
|
||||
ssl_mode: disable
|
||||
|
||||
minio:
|
||||
endpoint: 127.0.0.1:9000
|
||||
endpoint: https://s3.sundynix.cn
|
||||
access_key: sundynix
|
||||
secret_key: sundynix
|
||||
bucket: pets
|
||||
use_ssl: false
|
||||
public_base_url: http://127.0.0.1:9000 # 拼接可访问的对象 URL
|
||||
bucket: sundynix-pet
|
||||
use_ssl: true
|
||||
|
||||
jwt:
|
||||
secret: change-me-to-a-long-random-string # 生产用 PETS_JWT_SECRET 覆盖
|
||||
secret: "" # 用 PETS_JWT_SECRET 注入
|
||||
expire_hours: 168
|
||||
|
||||
wechat:
|
||||
app_id: your-wechat-app-id
|
||||
app_secret: your-wechat-app-secret # 敏感凭证:生产用 PETS_WECHAT_APP_SECRET 环境变量覆盖
|
||||
app_id: ""
|
||||
app_secret: ""
|
||||
|
||||
auth:
|
||||
dev_login: true # 仍保留 Mock 登录便于本地 curl 调试;上线可置 false 只留微信登录
|
||||
dev_login: false
|
||||
|
||||
admin:
|
||||
username: sundynix
|
||||
password: change-me # 启动时若无同名管理员则 seed 此账号
|
||||
|
||||
ai:
|
||||
enabled: false # false 时全部走规则化文案(不烧 token);接大模型改 true
|
||||
provider: openai # openai 兼容协议,适配 DeepSeek/Qwen(兼容模式)/Gemini(兼容端点)等
|
||||
base_url: https://api.deepseek.com # 换供应商只改这里 + model
|
||||
api_key: your-ai-api-key # 敏感:生产用 PETS_AI_API_KEY 环境变量覆盖
|
||||
model: deepseek-chat
|
||||
temperature: 0.6
|
||||
max_tokens: 1024
|
||||
timeout_sec: 30
|
||||
password: sundynix
|
||||
|
||||
Reference in New Issue
Block a user