1
This commit is contained in:
@@ -495,6 +495,7 @@ func makeMainProductSku(db *dao.DaoDB, api *tiktokShop.API, storeSku *dao.StoreS
|
|||||||
}
|
}
|
||||||
|
|
||||||
func getTiktokBrandId(api *tiktokShop.API, db *dao.DaoDB, upc, upcBrandName, upcTiktokBrandId string, categoryLeafId int64) (int64, error) {
|
func getTiktokBrandId(api *tiktokShop.API, db *dao.DaoDB, upc, upcBrandName, upcTiktokBrandId string, categoryLeafId int64) (int64, error) {
|
||||||
|
globals.SugarLogger.Debugf("upc:%s,upcBrandName:%s,upcTiktokBrandId:%s,categoryLeafId:%d", upc, upcBrandName, upcTiktokBrandId, categoryLeafId)
|
||||||
if upc == "" { // 默认品牌京西菜市 596120136
|
if upc == "" { // 默认品牌京西菜市 596120136
|
||||||
return 596120136, nil
|
return 596120136, nil
|
||||||
} else if upc != "" && upcBrandName != "" && upcTiktokBrandId != "" {
|
} else if upc != "" && upcBrandName != "" && upcTiktokBrandId != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user