This commit is contained in:
邹宗楠
2025-04-27 13:48:48 +08:00
parent 29eea4ceeb
commit 4103676275

View File

@@ -1112,6 +1112,7 @@ func MakeProductFormatNew(api *tiktokShop.API, skuNameId int64, categoryLeafId i
options = append(options, map[string]interface{}{"name": v.PropertyName, "value": 0, "diy_type": v.DiyType})
categoryMap[utils.Int64ToStr(v.PropertyId)] = options
} else {
globals.SugarLogger.Debugf("---------Options- := %s", utils.Format4Output(v.Options, false))
options = append(options, map[string]interface{}{"name": v.PropertyName, "value": v.Options[0].Value, "diy_type": v.DiyType})
categoryMap[utils.Int64ToStr(v.PropertyId)] = options
}