This commit is contained in:
邹宗楠
2023-10-10 11:54:54 +08:00
parent 847a1d64f4
commit 5762e9dc9f
3 changed files with 9 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ import (
"encoding/json"
"errors"
"fmt"
"git.rosy.net.cn/jx-callback/globals"
"strings"
"time"
"unicode"
@@ -315,6 +316,8 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
param.WhiteBackGroundPicUrl = whiteImg
param.WeightUnit = tiktokShop.WeightUint_G
globals.SugarLogger.Debugf("==param.Pic===== :%s", utils.Format4Output(param.Pic, false))
globals.SugarLogger.Debugf("==storeSku.SkuVendorMapCatID ===== :%s", utils.Format4Output(storeSku.SkuVendorMapCatID, false))
// 部分商品没有所属的分类,直接跳过!
if storeSku.SkuVendorMapCatID != "" {
param.CategoryLeafId = utils.Str2Int64(storeSku.SkuVendorMapCatID)