feat: add analytics data cache toggle

This commit is contained in:
eoao
2026-05-10 13:12:22 +08:00
parent 80242d5c24
commit 44bbf9c3da
5 changed files with 19 additions and 3 deletions

View File

@@ -34,8 +34,9 @@ crons = ["*/30 * * * *", "0 16 * * *"] #每30分钟刷新分析缓存每天
[vars]
ai_model = ""
orm_log = false
ai_model = "" #ai模型,不填默认使用@cf/meta/llama-3.1-8b-instruct
analysis_cache = false #是否开启分析数据缓存
orm_log = false #是否sql日志
domain = ["example.com"] #邮件域名可可配置多个 示例: ["example1.com","example2.com"]
admin = "admin@example.com" #管理员的邮箱 示例: admin@example.com
jwt_secret = "b7f29a1d-18e2-4d3b-941f-f6b2c97c02fd" #jwt令牌的密钥,随便填一串字符串