- don't sync sku.weight for mtwm

This commit is contained in:
gazebo
2019-02-13 11:10:13 +08:00
parent 3f6c713a23
commit a590c61fde

View File

@@ -261,10 +261,10 @@ func (p *PurchaseHandler) SyncStoreSkus(ctx *jxcontext.Context, parentTask tasks
map[string]interface{}{
"sku_id": foodData[mtwmapi.KeyAppFoodCode],
"spec": jxutils.ComposeSkuSpec(skuItem.SpecQuality, skuItem.SpecUnit),
"weight": skuItem.Weight,
"price": foodData["price"],
"stock": "*",
"upc": skuItem.Upc,
// "weight": skuItem.Weight, // weight字段仅限服饰鞋帽、美妆、日用品、母婴、生鲜果蔬、生活超市下的便利店/超市门店品类的商家使用
"price": foodData["price"],
"stock": "*",
"upc": skuItem.Upc,
},
}
if globals.EnableStoreWrite && globals.EnableMtwmStoreWrite {