添加蜂鸟门店名称生成错误

This commit is contained in:
邹宗楠
2022-05-13 17:45:52 +08:00
parent a1e059bde3
commit 19306bcd30
3 changed files with 11 additions and 9 deletions

View File

@@ -720,7 +720,7 @@ func (c *StoreController) GetStoreCategoryMap() {
// 获取门店分类
categoryList, err := cms.GetStoreCategoryMap(params.Ctx, params.ParentID, params.Level, params.StoreID)
// 门店为b2b
if store[0].BrandID == model.B2BNumberId {
if store[0].BrandID == model.B2BNumberId || params.StoreID == model.MatterStoreID{
// 获取用户权限如果是普通用户不展示b2b相关目录如果是门店老板或者管理则展示全部
userAuth, err := auth2.GetTokenInfo(params.Token)
if err != nil {