mirror of
https://shylinux.com/x/icebergs
synced 2025-04-26 01:24:05 +08:00
opt es
This commit is contained in:
parent
bb560a9f87
commit
f6839426af
@ -62,7 +62,7 @@ var Index = &ice.Context{Name: ES, Help: "搜索",
|
||||
"GET": {Name: "GET 查看:button cmd=/", Help: "命令", Action: map[string]*ice.Action{}, Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
||||
if pod := m.Option("_pod"); pod != "" {
|
||||
m.Option("_pod", "")
|
||||
m.Cmdy(web.SPACE, pod, "web.code.es.command", arg)
|
||||
m.Cmdy(web.SPACE, pod, "web.code.es.GET", arg)
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -27,12 +27,12 @@ curl http://localhost:9200
|
||||
`
|
||||
|
||||
# field command web.code.es.command option `{ _pod centos.remote }`
|
||||
field GET web.code.es.GET style command args `[ /index_test/test_type/1 ]`
|
||||
field GET web.code.es.GET style command args `[ /index_test/test_type/1 ]` option `{ _pod centos.remote }`
|
||||
|
||||
field CMD web.code.es.CMD style command args `[ POST /index_test/test_type/1 ] ` content `{
|
||||
"name": "lisi",
|
||||
"age" : "12"
|
||||
}`
|
||||
}` option `{ _pod centos.remote }`
|
||||
|
||||
field es web.code.es.es
|
||||
field install web.code.install
|
||||
|
Loading…
x
Reference in New Issue
Block a user