From 5d66c1f6aa3897695d25c43cb16464f82560c6eb Mon Sep 17 00:00:00 2001 From: gazebo Date: Fri, 10 Aug 2018 15:53:35 +0800 Subject: [PATCH] - change elm vendor_sku_id from skuId to vfoodId. --- business/controller/elm/order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/controller/elm/order.go b/business/controller/elm/order.go index 168a0ea52..a9fed6200 100644 --- a/business/controller/elm/order.go +++ b/business/controller/elm/order.go @@ -179,7 +179,7 @@ func (c *OrderController) GetOrder(orderID string) (order *model.GoodsOrder, err VendorID: model.VendorIDELM, Count: int(utils.MustInterface2Int64(product["quantity"])), SkuID: int(utils.Str2Int64WithDefault(utils.Interface2String(product["extendCode"]), 0)), - VendorSkuID: utils.Int64ToStr(utils.MustInterface2Int64(product["skuId"])), + VendorSkuID: utils.Int64ToStr(utils.MustInterface2Int64(product["vfoodId"])), SkuName: product["name"].(string), SalePrice: jxutils.StandardPrice2Int(utils.MustInterface2Float64(product["price"])), Weight: int(math.Round(utils.Interface2FloatWithDefault(product["weight"], 0.0))),