forked from x/icebergs
opt oauth
This commit is contained in:
parent
c81980bd72
commit
f9f4324bce
@ -4,7 +4,6 @@ import (
|
||||
ice "shylinux.com/x/icebergs"
|
||||
"shylinux.com/x/icebergs/base/cli"
|
||||
"shylinux.com/x/icebergs/base/ctx"
|
||||
"shylinux.com/x/icebergs/base/mdb"
|
||||
"shylinux.com/x/icebergs/base/web"
|
||||
)
|
||||
|
||||
@ -15,7 +14,7 @@ func init() {
|
||||
SEARCH: {Name: "search", Help: "搜索框", Actions: ice.MergeActions(ice.Actions{
|
||||
cli.OPENS: {Hand: func(m *ice.Message, arg ...string) { cli.Opens(m, arg...) }},
|
||||
"/": {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())},
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user