This commit is contained in:
邹宗楠
2024-11-21 14:15:59 +08:00
parent 668c848572
commit 32c4b67da3
5 changed files with 16 additions and 2 deletions

View File

@@ -359,6 +359,12 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
if attr != "" {
foodData["common_attr_value"] = attr
}
if storeSku.SellPoint != "" {
foodData["sell_point"] = storeSku.SellPoint
}
if storeSku.SellPointTimes != "" {
foodData["sell_point_times"] = storeSku.SellPointTimes
}
catCode := tryCatName2Code(storeSku.VendorCatID)
if catCode != "" {
foodData["category_code"] = catCode