- 新版同步逻辑基本OK

This commit is contained in:
gazebo
2019-07-17 17:02:31 +08:00
parent 6bb543f544
commit f6cf334567
7 changed files with 398 additions and 22 deletions

View File

@@ -119,7 +119,7 @@ func (p *PurchaseHandler) CreateStoreSkus(ctx *jxcontext.Context, storeID int, v
foodData["skus"] = skus
foodData["name"] = utils.LimitUTF8StringLen(storeSku.Name, 30)
foodData["description"] = storeSku.Comment
foodData["price"] = storeSku.Price
foodData["price"] = storeSku.VendorPrice
foodData["min_order_count"] = 1
foodData["unit"] = storeSku.Unit
foodData["box_num"] = 0
@@ -130,7 +130,7 @@ func (p *PurchaseHandler) CreateStoreSkus(ctx *jxcontext.Context, storeID int, v
if storeSku.DescImg != "" {
foodData["picture_contents"] = storeSku.DescImg
}
foodData["sequence"] = storeSku.Price
foodData["sequence"] = storeSku.VendorPrice
if storeSku.VendorVendorCatID != 0 {
foodData["tag_id"] = utils.Int64ToStr(storeSku.VendorVendorCatID)
} else {