mirror of
https://shylinux.com/x/icebergs
synced 2025-04-25 17:18:05 +08:00
add some
This commit is contained in:
parent
5afc3781a6
commit
f9932b5dba
@ -4,17 +4,24 @@ import (
|
||||
ice "shylinux.com/x/icebergs"
|
||||
"shylinux.com/x/icebergs/base/mdb"
|
||||
"shylinux.com/x/icebergs/base/web"
|
||||
kit "shylinux.com/x/toolkits"
|
||||
)
|
||||
|
||||
func init() {
|
||||
const corporation = "corporation"
|
||||
Index.MergeCommands(ice.Commands{
|
||||
corporation: {Name: "corporation username auto", Help: "法人", Actions: ice.MergeActions(ice.Actions{}, mdb.ExportHashAction(
|
||||
corporation: {Name: "corporation username auto", Help: "法人", Meta: kit.Dict(
|
||||
"_trans.input", kit.Dict(
|
||||
"idnumber", "身份证号",
|
||||
"usci", "统一社会信用代码",
|
||||
"account", "对公账户",
|
||||
"bank", "开户银行",
|
||||
),
|
||||
), Actions: ice.MergeActions(ice.Actions{}, mdb.ExportHashAction(
|
||||
mdb.SHORT, "username", mdb.FIELD, "time,username,mobile,idnumber,usci,account,bank,email,portal",
|
||||
)), Hand: func(m *ice.Message, arg ...string) {
|
||||
mdb.HashSelect(m, arg...)
|
||||
mdb.HashSelect(m, arg...).Action(mdb.CREATE)
|
||||
web.PushPodCmd(m, "", arg...)
|
||||
m.Action(mdb.CREATE)
|
||||
}},
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user