feat: xiaji-go v1.0.0 - 智能记账机器人
- Telegram Bot + QQ Bot (WebSocket) 双平台支持 - 150+ 预设分类关键词,jieba 智能分词 - Web 管理后台(记录查看/删除/CSV导出) - 金额精确存储(分/int64) - 版本信息嵌入(编译时注入) - Docker 支持 - 优雅关闭(context + signal)
This commit is contained in:
19
config.yaml.example
Normal file
19
config.yaml.example
Normal file
@@ -0,0 +1,19 @@
|
||||
server:
|
||||
port: 9521
|
||||
key: "your-secret-key-change-me"
|
||||
|
||||
database:
|
||||
path: "./xiaji.db"
|
||||
|
||||
admin:
|
||||
username: "admin"
|
||||
password: "your_password"
|
||||
|
||||
telegram:
|
||||
enabled: true
|
||||
token: "YOUR_TELEGRAM_BOT_TOKEN"
|
||||
|
||||
qqbot:
|
||||
enabled: false
|
||||
appid: "YOUR_QQ_BOT_APPID"
|
||||
secret: "YOUR_QQ_BOT_SECRET"
|
||||
Reference in New Issue
Block a user