1
0
forked from x/icebergs

add team/work

This commit is contained in:
shaoying 2020-06-12 07:16:10 +08:00
parent d08479a51c
commit dabfaca1f0

33
core/team/work.go Normal file
View File

@ -0,0 +1,33 @@
package team
import (
"github.com/shylinux/icebergs"
"github.com/shylinux/icebergs/base/web"
)
func init() {
Index.Register(&ice.Context{Name: "工作", Help: "工作",
Commands: map[string]*ice.Command{
"项目开发": {Name: "项目开发", Help: "项目开发", Hand: func(m *ice.Message, c *ice.Context, key string, arg ...string) {
}},
"项目测试": {Name: "项目测试", Help: "项目测试", Hand: func(m *ice.Message, c *ice.Context, key string, arg ...string) {
}},
},
}, &web.Frame{})
Index.Register(&ice.Context{Name: "创业", Help: "创业",
Commands: map[string]*ice.Command{
"项目调研": {Name: "项目调研", Help: "项目调研", Hand: func(m *ice.Message, c *ice.Context, key string, arg ...string) {
}},
"项目开发": {Name: "项目开发", Help: "项目开发", Hand: func(m *ice.Message, c *ice.Context, key string, arg ...string) {
m.Echo("hello world")
}},
"项目测试": {Name: "项目测试", Help: "项目测试", Hand: func(m *ice.Message, c *ice.Context, key string, arg ...string) {
}},
},
}, &web.Frame{})
}