- ebai order status.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user