- 配置类型增加银行

This commit is contained in:
gazebo
2019-07-25 11:46:32 +08:00
parent a07e84c776
commit 7f6ec1b9de
3 changed files with 41 additions and 18 deletions

View File

@@ -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"},
}
}