- ebai order status.

This commit is contained in:
gazebo
2018-09-28 10:07:10 +08:00
parent 4d468f589a
commit 8ba9abc3a5
2 changed files with 4 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ func (c *PurchaseHandler) onWaybillMsg(msg *ebaiapi.CallbackMsg) (retVal *ebaiap
func (c *PurchaseHandler) callbackMsg2Waybill(msg *ebaiapi.CallbackMsg) (retVal *model.Waybill) {
body := msg.Body
vendorStatus := body["status"].(string)
vendorStatus := utils.Int64ToStr(utils.MustInterface2Int64(body["status"]))
retVal = &model.Waybill{
VendorOrderID: body["order_id"].(string),
OrderVendorID: model.VendorIDEBAI,