This commit is contained in:
苏尹岚
2021-01-22 10:28:35 +08:00
parent 1dc91f6f9a
commit a1ddba2c78
2 changed files with 2 additions and 5 deletions

View File

@@ -230,8 +230,8 @@ type Role struct {
Name string `json:"name"` //角色名
BrandID int `orm:"column(brand_id)" json:"brandID"`
CityCodes string `json:"cityCodes"`
StoreIDs string `orm:"column(store_ids)" json:"storeIDs"`
CityCodes string `orm:"type(text)" json:"cityCodes"`
StoreIDs string `orm:"column(store_ids);type(text)" json:"storeIDs"`
}
func (*Role) TableUnique() [][]string {