From cfddc75ccbdbd5f42dae6359f1b71b57bd3e0e46 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Thu, 23 Dec 2021 14:28:44 +0800 Subject: [PATCH] config file modify --- pkg/common/config/config.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/pkg/common/config/config.go b/pkg/common/config/config.go index 5182de6d6..b2679bf9b 100644 --- a/pkg/common/config/config.go +++ b/pkg/common/config/config.go @@ -165,21 +165,21 @@ type config struct { } Notification struct { GroupCreated struct { - conversation Conversation `yaml:"conversation"` - offlinePush OfflinePush `yaml:"offlinePush"` - defaultTips DefaultTips `yaml:"defaultTips"` + Conversation PConversation `yaml:"conversation"` + OfflinePush POfflinePush `yaml:"offlinePush"` + DefaultTips PDefaultTips `yaml:"defaultTips"` } GroupInfoChanged struct { - conversation Conversation `yaml:"conversation"` - offlinePush OfflinePush `yaml:"offlinePush"` - defaultTips DefaultTips `yaml:"defaultTips"` + Conversation PConversation `yaml:"conversation"` + OfflinePush POfflinePush `yaml:"offlinePush"` + DefaultTips PDefaultTips `yaml:"defaultTips"` } ApplyJoinGroup struct { - conversation Conversation `yaml:"conversation"` - offlinePush OfflinePush `yaml:"offlinePush"` - defaultTips DefaultTips `yaml:"defaultTips"` + Conversation PConversation `yaml:"conversation"` + OfflinePush POfflinePush `yaml:"offlinePush"` + DefaultTips PDefaultTips `yaml:"defaultTips"` } } Demo struct { @@ -200,18 +200,18 @@ type config struct { } } } -type Conversation struct { +type PConversation struct { ConversationChanged bool `yaml:"conversationChanged"` UnreadCount bool `yaml:"unreadCount"` } -type OfflinePush struct { +type POfflinePush struct { PushSwitch bool `yaml:"switch"` Title string `yaml:"title"` Desc string `yaml:"desc"` Ext string `yaml:"ext"` } -type DefaultTips struct { +type PDefaultTips struct { Tips string `yaml:"tips"` }