1
0
forked from x/icebergs

opt oauth

This commit is contained in:
IT 老营长 @云轩领航-创始人 2023-09-10 11:27:06 +08:00
parent c81980bd72
commit f9f4324bce

View File

@ -4,7 +4,6 @@ import (
ice "shylinux.com/x/icebergs" ice "shylinux.com/x/icebergs"
"shylinux.com/x/icebergs/base/cli" "shylinux.com/x/icebergs/base/cli"
"shylinux.com/x/icebergs/base/ctx" "shylinux.com/x/icebergs/base/ctx"
"shylinux.com/x/icebergs/base/mdb"
"shylinux.com/x/icebergs/base/web" "shylinux.com/x/icebergs/base/web"
) )
@ -15,7 +14,7 @@ func init() {
SEARCH: {Name: "search", Help: "搜索框", Actions: ice.MergeActions(ice.Actions{ SEARCH: {Name: "search", Help: "搜索框", Actions: ice.MergeActions(ice.Actions{
cli.OPENS: {Hand: func(m *ice.Message, arg ...string) { cli.Opens(m, arg...) }}, cli.OPENS: {Hand: func(m *ice.Message, arg ...string) { cli.Opens(m, arg...) }},
"/": {Hand: func(m *ice.Message, arg ...string) { "/": {Hand: func(m *ice.Message, arg ...string) {
m.Cmdy(web.Space(m, m.Option(ice.POD)), mdb.SEARCH, arg).StatusTimeCount() m.Cmdy(web.Space(m, m.Option(ice.POD)), "mdb.search", arg).StatusTimeCount()
}}, }},
}, ctx.CmdAction())}, }, ctx.CmdAction())},
}) })