This commit is contained in:
richboo111
2022-07-28 10:59:17 +08:00
parent a1da12b38e
commit 3359685f08

View File

@@ -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 {