1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 17:44:05 +08:00
This commit is contained in:
shaoying 2020-04-08 18:30:16 +08:00
parent 35730461cb
commit ae99c1e9c2

View File

@ -361,7 +361,10 @@ var Index = &ice.Context{Name: "chat", Help: "聊天中心",
} else { } else {
// 本地空间 // 本地空间
m.Richs(ice.WEB_SPACE, nil, "*", func(key string, value map[string]interface{}) { m.Richs(ice.WEB_SPACE, nil, "*", func(key string, value map[string]interface{}) {
switch value[kit.MDB_TYPE] {
case ice.WEB_SERVER, ice.WEB_WORKER:
m.Push(key, value, []string{"type", "name", "user"}) m.Push(key, value, []string{"type", "name", "user"})
}
}) })
} }
return return