1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-26 09:14:06 +08:00

add commit.hook

This commit is contained in:
shaoying 2018-11-09 12:04:45 +08:00
parent 8deb3d47a0
commit 8de323ce81

View File

@ -199,6 +199,7 @@ var Index = &ctx.Context{Name: "mdb", Help: "数据中心",
"extra_field": 2, "extra_fields": 1, "extra_format": 1, "trans_field": 1, "trans_map": 2},
Hand: func(m *ctx.Message, c *ctx.Context, key string, arg ...string) {
if _, ok := m.Target().Server.(*MDB); m.Assert(ok) {
table := m.Confx("table", arg, 0)
if v := m.Confv("tables", table); v != nil {
table = v.(string)