- apis interact with PurchasePlatform added.

This commit is contained in:
gazebo
2018-07-15 20:44:25 +08:00
parent de2545c3e2
commit e1e5e93319
4 changed files with 59 additions and 7 deletions

View File

@@ -30,7 +30,7 @@ func (c *WaybillController) onWaybillMsg(msg *dadaapi.CallbackMsg) (retVal *dada
order.Status = model.WaybillStatusNew
case dadaapi.OrderStatusAccepted:
order.Status = model.WaybillStatusAccepted
case dadaapi.OrderStatusDeliverying:
case dadaapi.OrderStatusDelivering:
order.Status = model.WaybillStatusDelivering
case dadaapi.OrderStatusFinished:
order.Status = model.WaybillStatusDelivered