添加自动创建分类
This commit is contained in:
@@ -336,3 +336,8 @@ func GetProductAuditList(vendorOrgCode string, page, pageSize int64) (map[string
|
||||
}
|
||||
return updateCategory, total
|
||||
}
|
||||
|
||||
func (p *PurchaseHandler) GetSkuCategoryIdByName(vendorOrgCode, skuName string) (string, error) {
|
||||
vendorCategoryId, err := getAPI(vendorOrgCode, 0, "").GetRecommendCategory(strings.Split(skuName, "|"))
|
||||
return utils.Int64ToStr(vendorCategoryId), err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user