- return normal response when ebai msg missing status field.

This commit is contained in:
gazebo
2018-11-19 09:42:12 +08:00
parent f484c50dea
commit ab5013e7a9

View File

@@ -197,6 +197,8 @@ func (c *PurchaseHandler) onOrderMsg(msg *ebaiapi.CallbackMsg) (retVal *ebaiapi.
}
}
retVal = api.EbaiAPI.Err2CallbackResponse(msg.Cmd, err, nil)
} else {
retVal = api.EbaiAPI.Err2CallbackResponse(msg.Cmd, nil, nil)
}
}
return retVal