From d9f25222301d9a080a9376047da6a1676de88c1d Mon Sep 17 00:00:00 2001 From: richboo111 Date: Thu, 21 Jul 2022 15:12:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0is=5Fhidden=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/model/store.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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 {