This commit is contained in:
苏尹岚
2020-12-24 09:39:57 +08:00
parent bdfc2db33b
commit ada4e33bbe

View File

@@ -256,7 +256,7 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
}, },
} }
foodData["skus"] = skus foodData["skus"] = skus
foodData["name"] = utils.LimitUTF8StringLen(utils.FilterEmoji(storeSku.SkuName), mtwmapi.MaxSkuNameCharCount) foodData["name"] = utils.LimitUTF8StringLen(storeSku.SkuName, mtwmapi.MaxSkuNameCharCount)
foodData["description"] = storeSku.Comment foodData["description"] = storeSku.Comment
if isNeedUpdatePrice { if isNeedUpdatePrice {
foodData["price"] = jxutils.IntPrice2Standard(storeSku.VendorPrice) foodData["price"] = jxutils.IntPrice2Standard(storeSku.VendorPrice)