forked from x/icebergs
opt some
This commit is contained in:
parent
5821f3e258
commit
40c30f6424
@ -450,7 +450,7 @@ var Index = &ice.Context{Name: "web", Help: "网络模块",
|
||||
ice.WEB_SPIDE: {Name: "spide", Help: "蜘蛛侠", Value: kit.Data(kit.MDB_SHORT, "client.name")},
|
||||
ice.WEB_SERVE: {Name: "serve", Help: "服务器", Value: kit.Data(
|
||||
"title", "github.com/shylinux/contexts",
|
||||
"legal", `<a href="mailto:shylinuxc@gmail.com">shylinuxc@gmail.com</a>`,
|
||||
"legal", []interface{}{`<a href="mailto:shylinuxc@gmail.com">shylinuxc@gmail.com</a>`},
|
||||
"page", kit.Dict(
|
||||
"index", "usr/volcanos/page/index.html",
|
||||
"share", "usr/volcanos/page/share.html",
|
||||
|
@ -355,7 +355,7 @@ var Index = &ice.Context{Name: "wiki", Help: "文档中心",
|
||||
// 解析数据
|
||||
m.CSV(m.Result())
|
||||
}},
|
||||
"word": {Name: "word path auto", Help: "语言文字", Meta: kit.Dict("display", "local/wiki/word"), Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
||||
"word": {Name: "word path=auto auto", Help: "语言文字", Meta: kit.Dict("display", "local/wiki/word"), Hand: func(m *ice.Message, c *ice.Context, cmd string, arg ...string) {
|
||||
if len(arg) > 0 && arg[0] == "action" {
|
||||
switch arg[1] {
|
||||
case "story":
|
||||
|
Loading…
x
Reference in New Issue
Block a user