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 | 65 ++++++++++++++++++++++++++++++++ 1 files changed, 65 insertions(+), 0 deletions(-) diff --git a/config.example.json b/config.example.json new file mode 100644 index 0000000..f64b2f5 --- /dev/null +++ b/config.example.json @@ -0,0 +1,65 @@ +{ + "database": { + "url": "mysql+pymysql://username:password@host:port/database" + }, + "redis": { + "url": "redis://localhost:6379/0" + }, + "ecloud": { + "base_url": "http://your-ecloud-server:port", + "authorization": "your-authorization-token", + "w_id": "your-wechat-instance-id" + }, + "dify": { + "base_url": "https://api.dify.ai/v1", + "api_key": "your-dify-api-key", + "streaming_enabled": true, + "streaming_timeout": 1200 + }, + "server": { + "host": "0.0.0.0", + "port": 7979, + "debug": false + }, + "logging": { + "level": "INFO", + "file": "logs/app.log" + }, + "message_processing": { + "max_retry_count": 3, + "retry_delay": 5, + "queue_timeout": 300 + }, + "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