- 配置类型增加银行
This commit is contained in:
@@ -3,6 +3,15 @@ package model
|
||||
const (
|
||||
ConfigTypeSys = "Sys"
|
||||
ConfigTypePricePack = "PricePack"
|
||||
ConfigTypeBank = "Bank"
|
||||
)
|
||||
|
||||
var (
|
||||
ConfigTypeList = []string{
|
||||
ConfigTypeSys,
|
||||
ConfigTypePricePack,
|
||||
ConfigTypeBank,
|
||||
}
|
||||
)
|
||||
|
||||
type NewConfig struct {
|
||||
@@ -16,5 +25,6 @@ type NewConfig struct {
|
||||
func (*NewConfig) TableUnique() [][]string {
|
||||
return [][]string{
|
||||
[]string{"Key", "Type", "DeletedAt"},
|
||||
[]string{"Type", "Key", "DeletedAt"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user