mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
opt some
This commit is contained in:
parent
4ae646ba30
commit
61a4032ac6
@ -3,6 +3,7 @@ package chat
|
||||
import (
|
||||
ice "shylinux.com/x/icebergs"
|
||||
"shylinux.com/x/icebergs/base/web"
|
||||
kit "shylinux.com/x/toolkits"
|
||||
)
|
||||
|
||||
const CHAT = "chat"
|
||||
@ -10,3 +11,5 @@ const CHAT = "chat"
|
||||
var Index = &ice.Context{Name: CHAT, Help: "聊天中心"}
|
||||
|
||||
func init() { web.Index.Register(Index, &web.Frame{}, FAVOR) }
|
||||
|
||||
func Prefix(arg ...string) string { return web.Prefix(CHAT, kit.Keys(arg)) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user