- jxorder, only waybill status related left, other info saved.
This commit is contained in:
@@ -117,10 +117,11 @@ func (c *OrderController) getOrderInfo(orderID string) (order *model.GoodsOrder,
|
||||
ConsigneeName: result["consignee"].(string),
|
||||
ConsigneeMobile: consigneeMobile,
|
||||
ConsigneeAddress: result["address"].(string),
|
||||
BuyerComment: utils.Interface2String(result["description"]),
|
||||
BuyerComment: strings.Trim(utils.Interface2String(result["description"]), "\n\r\t "),
|
||||
ExpectedDeliveredTime: utils.Str2TimeWithDefault(utils.Interface2String(result["deliverTime"]), utils.DefaultTimeValue),
|
||||
// 取订单的原始status,不合并消息类型(因为当前消息类型没有意义)
|
||||
VendorStatus: utils.Interface2String(result["status"]),
|
||||
OrderSeq: int(utils.MustInterface2Int64(result["daySn"])),
|
||||
OrderCreatedAt: utils.Str2Time(result["createdAt"].(string)),
|
||||
OriginalData: string(utils.MustMarshal(result)),
|
||||
Skus: []*model.OrderSku{},
|
||||
|
||||
Reference in New Issue
Block a user