newconfig新增类型
This commit is contained in:
@@ -6,6 +6,7 @@ const (
|
||||
ConfigTypeFreightPack = "FreightPack"
|
||||
ConfigTypeBank = "Bank"
|
||||
ConfigTypeRole = "Role"
|
||||
ConfigTypeJxStore = "JxStore"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -22,6 +23,7 @@ var (
|
||||
ConfigTypeFreightPack: "免运包",
|
||||
ConfigTypeBank: "银行",
|
||||
ConfigTypeRole: "角色",
|
||||
ConfigTypeJxStore: "京西商城",
|
||||
}
|
||||
)
|
||||
|
||||
@@ -30,7 +32,7 @@ type NewConfig struct {
|
||||
|
||||
Type string `orm:"size(16)" json:"type"`
|
||||
Key string `orm:"size(32)" json:"key"`
|
||||
Value string `orm:"size(4096)" json:"value"`
|
||||
Value string `orm:"size(9999)" json:"value"`
|
||||
}
|
||||
|
||||
func (*NewConfig) TableUnique() [][]string {
|
||||
|
||||
Reference in New Issue
Block a user