diff --git a/business/model/store.go b/business/model/store.go index 3be90738c..58bb4da7a 100644 --- a/business/model/store.go +++ b/business/model/store.go @@ -732,11 +732,12 @@ func (l *FreightDeductionPack) Swap(i, j int) { type StoreCategoryMap struct { ModelIDCULD StoreID int `orm:"column(store_id)" json:"storeID"` - CategoryID int `orm:"column(category_id)" json:"categoryID"` // 这个是指对应的sku_category - StoreCategoryName string `orm:"size(255)" json:"name"` // 门店类别单独的名字 - StoreCategorySeq int `orm:"default(0)" json:"storeCategorySeq"` // 门店类别单独的序号 - Level int `json:"level"` // 门店类别单独的等级 - ParentID int `orm:"column(parent_id)" json:"parentID"` //门店类别父ID,和sku_category一致 + CategoryID int `orm:"column(category_id)" json:"categoryID"` // 这个是指对应的sku_category + StoreCategoryName string `orm:"size(255)" json:"name"` // 门店类别单独的名字 + StoreCategorySeq int `orm:"default(0)" json:"storeCategorySeq"` // 门店类别单独的序号 + Level int `json:"level"` // 门店类别单独的等级 + ParentID int `orm:"column(parent_id)" json:"parentID"` //门店类别父ID,和sku_category一致 + IsHidden int `orm:"column(is_hidden);default(1)" json:"isHidden"` //门店类别是否展示 1:展示 -1:不展示 } func (*StoreCategoryMap) TableUnique() [][]string {