From f28ac0166536a2a4b68cac685a41ea667f60f7e9 Mon Sep 17 00:00:00 2001
From: yj <2077506045@qq.com>
Date: 星期三, 03 九月 2025 14:43:03 +0800
Subject: [PATCH] 兼容企业微信
---
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