mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
add can.dir
This commit is contained in:
parent
bdb7177091
commit
7bdc1bc380
@ -41,6 +41,9 @@ func init() {
|
||||
m.Echo(get(m, "place/v1/explore", m.OptionSimple("keyword,boundary,page_index")))
|
||||
}},
|
||||
SEARCH: {Help: "搜索", Hand: func(m *ice.Message, arg ...string) {
|
||||
if m.Option("keyword") == "" {
|
||||
return
|
||||
}
|
||||
m.Echo(get(m, "place/v1/search", m.OptionSimple("keyword,boundary,page_index")))
|
||||
}},
|
||||
DIRECTION: {Help: "导航", Hand: func(m *ice.Message, arg ...string) {
|
||||
|
@ -55,7 +55,7 @@ func _xterm_get(m *ice.Message, h string) xterm.XTerm {
|
||||
}
|
||||
func _xterm_echo(m *ice.Message, h string, str string) {
|
||||
m.Options(ice.MSG_DAEMON, mdb.HashSelectField(m, h, cli.DAEMON), ice.MSG_COUNT, "0", "__target", "")
|
||||
m.Options(ice.LOG_DISABLE, ice.TRUE)
|
||||
// m.Options(ice.LOG_DISABLE, ice.TRUE)
|
||||
web.PushNoticeGrow(m, h, str)
|
||||
}
|
||||
func _xterm_cmds(m *ice.Message, h string, cmd string, arg ...ice.Any) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user