|
|
@ -165,51 +165,21 @@ type config struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Notification struct {
|
|
|
|
Notification struct {
|
|
|
|
GroupCreated struct {
|
|
|
|
GroupCreated struct {
|
|
|
|
Conversation struct {
|
|
|
|
conversation Conversation `yaml:"conversation"`
|
|
|
|
ConversationChanged bool `yaml:"conversationChanged"`
|
|
|
|
offlinePush OfflinePush `yaml:"offlinePush"`
|
|
|
|
UnreadCount bool `yaml:"unreadCount"`
|
|
|
|
defaultTips DefaultTips `yaml:"defaultTips"`
|
|
|
|
}
|
|
|
|
|
|
|
|
OfflinePush struct {
|
|
|
|
|
|
|
|
PushSwitch bool `yaml:"switch"`
|
|
|
|
|
|
|
|
Title string `yaml:"title"`
|
|
|
|
|
|
|
|
Desc string `yaml:"desc"`
|
|
|
|
|
|
|
|
Ext string `yaml:"ext"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
DefaultTips struct {
|
|
|
|
|
|
|
|
Tips string `yaml:"tips"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
GroupInfoChanged struct {
|
|
|
|
GroupInfoChanged struct {
|
|
|
|
Conversation struct {
|
|
|
|
conversation Conversation `yaml:"conversation"`
|
|
|
|
ConversationChanged bool `yaml:"conversationChanged"`
|
|
|
|
offlinePush OfflinePush `yaml:"offlinePush"`
|
|
|
|
UnreadCount bool `yaml:"unreadCount"`
|
|
|
|
defaultTips DefaultTips `yaml:"defaultTips"`
|
|
|
|
}
|
|
|
|
|
|
|
|
OfflinePush struct {
|
|
|
|
|
|
|
|
PushSwitch bool `yaml:"switch"`
|
|
|
|
|
|
|
|
Title string `yaml:"title"`
|
|
|
|
|
|
|
|
Desc string `yaml:"desc"`
|
|
|
|
|
|
|
|
Ext string `yaml:"ext"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
DefaultTips struct {
|
|
|
|
|
|
|
|
Tips string `yaml:"tips"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
ApplyJoinGroup struct {
|
|
|
|
ApplyJoinGroup struct {
|
|
|
|
Conversation struct {
|
|
|
|
conversation Conversation `yaml:"conversation"`
|
|
|
|
ConversationChanged bool `yaml:"conversationChanged"`
|
|
|
|
offlinePush OfflinePush `yaml:"offlinePush"`
|
|
|
|
UnreadCount bool `yaml:"unreadCount"`
|
|
|
|
defaultTips DefaultTips `yaml:"defaultTips"`
|
|
|
|
}
|
|
|
|
|
|
|
|
OfflinePush struct {
|
|
|
|
|
|
|
|
PushSwitch bool `yaml:"switch"`
|
|
|
|
|
|
|
|
Title string `yaml:"title"`
|
|
|
|
|
|
|
|
Desc string `yaml:"desc"`
|
|
|
|
|
|
|
|
Ext string `yaml:"ext"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
DefaultTips struct {
|
|
|
|
|
|
|
|
Tips string `yaml:"tips"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Demo struct {
|
|
|
|
Demo struct {
|
|
|
@ -230,6 +200,20 @@ type config struct {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
type Conversation struct {
|
|
|
|
|
|
|
|
ConversationChanged bool `yaml:"conversationChanged"`
|
|
|
|
|
|
|
|
UnreadCount bool `yaml:"unreadCount"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type OfflinePush struct {
|
|
|
|
|
|
|
|
PushSwitch bool `yaml:"switch"`
|
|
|
|
|
|
|
|
Title string `yaml:"title"`
|
|
|
|
|
|
|
|
Desc string `yaml:"desc"`
|
|
|
|
|
|
|
|
Ext string `yaml:"ext"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
type DefaultTips struct {
|
|
|
|
|
|
|
|
Tips string `yaml:"tips"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
func init() {
|
|
|
|
//path, _ := os.Getwd()
|
|
|
|
//path, _ := os.Getwd()
|
|
|
|