修复美团外卖创建二级分类的BUG

This commit is contained in:
gazebo
2019-10-16 15:41:15 +08:00
parent 754eff917e
commit a1157aed4c

View File

@@ -110,7 +110,7 @@ func (p *PurchaseHandler) CreateStoreCategory(ctx *jxcontext.Context, storeID in
}
if level == 2 { // 二级分类
// 创建二级分类
originName = storeCat.ParentCatName
originName = utils.FilterMb4(storeCat.ParentCatName)
catName = storeCat.ParentCatName
catCode = storeCat.ParentID
subCatName = storeCat.Name