1
0
forked from x/icebergs
This commit is contained in:
shaoying 2020-05-08 19:10:05 +08:00
parent 5821f3e258
commit 40c30f6424
2 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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":