1
0
mirror of https://shylinux.com/x/icebergs synced 2025-05-08 22:18:11 +08:00
icebergs/core/mall/region.go
2023-10-31 10:00:03 +08:00

21 lines
532 B
Go

package mall
import (
ice "shylinux.com/x/icebergs"
"shylinux.com/x/icebergs/base/mdb"
"shylinux.com/x/icebergs/base/web/html"
kit "shylinux.com/x/toolkits"
)
const REGION = "region"
func init() {
Index.MergeCommands(ice.Commands{
REGION: {Help: "地区", Meta: kit.Dict(
ice.CTX_TRANS, kit.Dict(html.INPUT, kit.Dict(
"area", "面积", "population", "人口", "gdp", "产值",
)),
), Actions: ice.MergeActions(mdb.ExportHashAction(mdb.SHORT, mdb.NAME, mdb.FIELD, "time,name,text,area,population,gdp"))},
})
}