From 0ed1530b4049944f44554ba4711acb823a211854 Mon Sep 17 00:00:00 2001 From: yj <2077506045@qq.com> Date: 星期二, 26 八月 2025 10:37:23 +0800 Subject: [PATCH] 1.新增结束语判断;2.增加@客服后静默;3.增加判断群已静默后AI已回复也不发消息 --- config.example.json | 39 +++++++++++++++++++++++++++++++++++---- 1 files changed, 35 insertions(+), 4 deletions(-) diff --git a/config.example.json b/config.example.json index b2df84d..f64b2f5 100644 --- a/config.example.json +++ b/config.example.json @@ -1,18 +1,20 @@ { "database": { - "url": "mysql+pymysql://username:password@host:port/database_name" + "url": "mysql+pymysql://username:password@host:port/database" }, "redis": { "url": "redis://localhost:6379/0" }, "ecloud": { "base_url": "http://your-ecloud-server:port", - "authorization": "your_ecloud_authorization_token", - "w_id": "your_ecloud_w_id" + "authorization": "your-authorization-token", + "w_id": "your-wechat-instance-id" }, "dify": { "base_url": "https://api.dify.ai/v1", - "api_key": "your_dify_api_key" + "api_key": "your-dify-api-key", + "streaming_enabled": true, + "streaming_timeout": 1200 }, "server": { "host": "0.0.0.0", @@ -30,5 +32,34 @@ }, "customer_service": { "names": ["瀹㈡湇1", "瀹㈡湇2"] + }, + "friend_ignore": { + "enabled": true, + "whitelist": [] + }, + "silence_mode": { + "enabled": true, + "duration_minutes": 10 + }, + "online_status_monitor": { + "enabled": true, + "check_interval_minutes": 5, + "notification_message": "寰俊鎺夌嚎鎻愰啋锛氬綋鍓嶆病鏈夊湪绾跨殑寰俊璐﹀彿锛岃鍙婃椂妫�鏌ワ紒" + }, + "email_notification": { + "enabled": true, + "smtp_server": "smtp.qq.com", + "smtp_port": 587, + "smtp_username": "your_email@qq.com", + "smtp_password": "your_qq_app_password", + "from_email": "your_email@qq.com", + "to_emails": ["admin@example.com", "backup@example.com"] + }, + "sms_notification": { + "enabled": true, + "api_url": "https://smsapi.izjun.com:8443/sms/api/sendMessageMass", + "username": "your_sms_username", + "password": "your_sms_password", + "phone_numbers": ["13800138000", "13900139000"] } } -- Gitblit v1.9.1