fix: 修复QQ存在的panic风险

This commit is contained in:
mei
2025-10-06 22:15:35 +08:00
parent a253e15e95
commit e2b68fef1e
5 changed files with 44 additions and 16 deletions
+1
View File
@@ -10,6 +10,7 @@ type Config struct {
SignalSecret string `json:"signal_secret"`
Debug bool `json:"debug"`
DisconnectDuration int `json:"disconnect_duration"` // Hours
EnableQQ bool `json:"enable_qq"`
CatBotUrl string `json:"cat_bot_url"`
CatBotKey string `json:"cat_bot_key"`
QQSendGroup []int `json:"qq_send_group"`