- 新版同步逻辑基本OK
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user