1
0
forked from x/icebergs

opt inner.js

This commit is contained in:
IT 老营长 @云轩领航-创始人 2022-01-17 00:17:00 +08:00
parent 298d1ac6f2
commit fdc1b5420a
3 changed files with 3 additions and 2 deletions

View File

@ -103,6 +103,7 @@ func init() {
m.Set(ice.MSG_STATUS)
return
}
m.Option("plug", "inner/search.js?a=1,inner/favor.js,inner/sess.js")
arg[1] = kit.Split(arg[1])[0]
_inner_list(m, kit.Ext(arg[1]), arg[1], arg[0])
m.Set(ice.MSG_STATUS)

View File

@ -26,7 +26,7 @@ func init() {
),
)},
}, Commands: map[string]*ice.Command{
TOTAL: {Name: "total name auto pie", Help: "统计量", Action: map[string]*ice.Action{
TOTAL: {Name: "total repos auto pie", Help: "统计量", Action: map[string]*ice.Action{
PIE: {Name: "pie", Help: "饼图", Hand: func(m *ice.Message, arg ...string) {
defer m.Display("/plugin/story/pie.js")
m.Cmd(TOTAL).Table(func(index int, value map[string]string, head []string) {

View File

@ -12,7 +12,7 @@ const TREND = "trend"
func init() {
Index.Merge(&ice.Context{Commands: map[string]*ice.Command{
TREND: {Name: "trend name begin_time@date auto", Help: "趋势图", Meta: kit.Dict(
TREND: {Name: "trend repos begin_time@date auto", Help: "趋势图", Meta: kit.Dict(
ice.Display("/plugin/story/trend.js"),
), Action: ice.MergeAction(map[string]*ice.Action{
mdb.INPUTS: {Name: "inputs", Help: "补全", Hand: func(m *ice.Message, arg ...string) {