mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 02:58:26 +08:00
config file modify
This commit is contained in:
parent
1efe753a04
commit
3a01ee9973
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user