From 3359685f0833337304e2f81d5d518cb78b2c4723 Mon Sep 17 00:00:00 2001 From: richboo111 Date: Thu, 28 Jul 2022 10:59:17 +0800 Subject: [PATCH] add --- business/jxstore/cms/store.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 06f08975a..f280616d9 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -3536,6 +3536,9 @@ func UpdateStoreCategoryMap(ctx *jxcontext.Context, ID int, storeCategoryMap *mo if storeCategoryMap.StoreCategoryName != "" { valid["storeCategoryName"] = storeCategoryMap.StoreCategoryName } + if storeCategoryMap.IsHidden < 2 { + valid["isHidden"] = storeCategoryMap.IsHidden + } if storeCategoryMap.CategoryID != 0 { valid["categoryID"] = storeCategoryMap.CategoryID if !isDelete {