aa
This commit is contained in:
@@ -3177,6 +3177,10 @@ func GetStoreCategoryMap(ctx *jxcontext.Context, parentID, level int, storeID in
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
//表示没有门店分类
|
||||
if len(storeCatMaps) == 0 {
|
||||
storeCatMaps, err = dao.GetCategoriesForStore(db, parentID, 0, nil)
|
||||
}
|
||||
return storeCatMaps, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user