- refactor Id to ID.

This commit is contained in:
gazebo
2018-06-25 14:05:25 +08:00
parent 7657966da5
commit 9356784af5
2 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ func (a *API) GetOrderCallbackMsg(request *http.Request) (orderMsg *CallbackOrde
}
orderMsg = &CallbackOrderMsg{
OrderInfoCommon: OrderInfoCommon{
DeliveryId: utils.Str2Int64(request.FormValue("delivery_id")),
DeliveryID: utils.Str2Int64(request.FormValue("delivery_id")),
MtPeisongId: request.FormValue("mt_peisong_id"),
OrderId: request.FormValue("order_id"),
CourierName: request.FormValue("courier_name"),
@@ -88,7 +88,7 @@ func (a *API) GetOrderExceptionCallbackMsg(request *http.Request) (orderMsg *Cal
}
orderMsg = &CallbackOrderExceptionMsg{
OrderInfoCommon: OrderInfoCommon{
DeliveryId: utils.Str2Int64(request.FormValue("delivery_id")),
DeliveryID: utils.Str2Int64(request.FormValue("delivery_id")),
MtPeisongId: request.FormValue("mt_peisong_id"),
OrderId: request.FormValue("order_id"),
CourierName: request.FormValue("courier_name"),