yj
2025-09-03 f28ac0166536a2a4b68cac685a41ea667f60f7e9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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"]
  }
}