格式化运单电话

This commit is contained in:
gazebo
2019-09-29 16:57:51 +08:00
parent b583d54b32
commit 601db3f0ce
2 changed files with 8 additions and 1 deletions

View File

@@ -304,7 +304,12 @@ func (c *PurchaseHandler) AcceptOrRefuseOrder(order *model.GoodsOrder, isAcceptI
c.postFakeMsg(order.VendorOrderID, jdapi.StatusIDWaitOutStore)
}
} else {
c.postFakeMsg(order.VendorOrderID, jdapi.StatusIDWaitOutStore)
if isAcceptIt {
c.postFakeMsg(order.VendorOrderID, jdapi.StatusIDWaitOutStore)
} else {
c.postFakeMsg(order.VendorOrderID, jdapi.OrderStatusCanceled)
}
}
return err
}