mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
config file modify
This commit is contained in:
parent
1efe753a04
commit
3a01ee9973
@ -165,51 +165,21 @@ type config struct {
|
||||
}
|
||||
Notification struct {
|
||||
GroupCreated struct {
|
||||
Conversation struct {
|
||||
ConversationChanged bool `yaml:"conversationChanged"`
|
||||
UnreadCount bool `yaml:"unreadCount"`
|
||||
}
|
||||
OfflinePush struct {
|
||||
PushSwitch bool `yaml:"switch"`
|
||||
Title string `yaml:"title"`
|
||||
Desc string `yaml:"desc"`
|
||||
Ext string `yaml:"ext"`
|
||||
}
|
||||
DefaultTips struct {
|
||||
Tips string `yaml:"tips"`
|
||||
}
|
||||
conversation Conversation `yaml:"conversation"`
|
||||
offlinePush OfflinePush `yaml:"offlinePush"`
|
||||
defaultTips DefaultTips `yaml:"defaultTips"`
|
||||
}
|
||||
|
||||
GroupInfoChanged struct {
|
||||
Conversation struct {
|
||||
ConversationChanged bool `yaml:"conversationChanged"`
|
||||
UnreadCount bool `yaml:"unreadCount"`
|
||||
}
|
||||
OfflinePush struct {
|
||||
PushSwitch bool `yaml:"switch"`
|
||||
Title string `yaml:"title"`
|
||||
Desc string `yaml:"desc"`
|
||||
Ext string `yaml:"ext"`
|
||||
}
|
||||
DefaultTips struct {
|
||||
Tips string `yaml:"tips"`
|
||||
}
|
||||
conversation Conversation `yaml:"conversation"`
|
||||
offlinePush OfflinePush `yaml:"offlinePush"`
|
||||
defaultTips DefaultTips `yaml:"defaultTips"`
|
||||
}
|
||||
|
||||
ApplyJoinGroup struct {
|
||||
Conversation struct {
|
||||
ConversationChanged bool `yaml:"conversationChanged"`
|
||||
UnreadCount bool `yaml:"unreadCount"`
|
||||
}
|
||||
OfflinePush struct {
|
||||
PushSwitch bool `yaml:"switch"`
|
||||
Title string `yaml:"title"`
|
||||
Desc string `yaml:"desc"`
|
||||
Ext string `yaml:"ext"`
|
||||
}
|
||||
DefaultTips struct {
|
||||
Tips string `yaml:"tips"`
|
||||
}
|
||||
conversation Conversation `yaml:"conversation"`
|
||||
offlinePush OfflinePush `yaml:"offlinePush"`
|
||||
defaultTips DefaultTips `yaml:"defaultTips"`
|
||||
}
|
||||
}
|
||||
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() {
|
||||
//path, _ := os.Getwd()
|
||||
|
Loading…
x
Reference in New Issue
Block a user