- order.WaybillVendorID default to order vendor.

This commit is contained in:
gazebo
2018-07-18 09:44:53 +08:00
parent 9ab535fa3b
commit 15439779b2
4 changed files with 4 additions and 2 deletions

View File

@@ -115,6 +115,7 @@ func (c *OrderController) getOrderInfo(orderID string) (order *model.GoodsOrder,
order = &model.GoodsOrder{
VendorOrderID: orderID,
VendorID: model.VendorIDELM,
WaybillVendorID: model.VendorIDELM,
VendorStoreID: utils.Int64ToStr(utils.MustInterface2Int64(result["shopId"])),
StoreID: int(utils.Str2Int64WithDefault(utils.Interface2String(result["openId"]), 0)),
StoreName: result["shopName"].(string),