From 40c30f6424ac292cd85072bbc5d426c7916ee3f1 Mon Sep 17 00:00:00 2001 From: shaoying Date: Fri, 8 May 2020 19:10:05 +0800 Subject: [PATCH] opt some --- base/web/web.go | 2 +- core/wiki/wiki.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base/web/web.go b/base/web/web.go index d6ec251c..4e37a00f 100644 --- a/base/web/web.go +++ b/base/web/web.go @@ -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", `shylinuxc@gmail.com`, + "legal", []interface{}{`shylinuxc@gmail.com`}, "page", kit.Dict( "index", "usr/volcanos/page/index.html", "share", "usr/volcanos/page/share.html", diff --git a/core/wiki/wiki.go b/core/wiki/wiki.go index 972d578a..c3de2835 100644 --- a/core/wiki/wiki.go +++ b/core/wiki/wiki.go @@ -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":