- 如果不同意用户取消订单成功后,把上解锁订单

This commit is contained in:
gazebo
2019-04-29 11:52:45 +08:00
parent efdc78da59
commit 0124cf4bcd
4 changed files with 15 additions and 2 deletions

View File

@@ -290,7 +290,7 @@ func (s *DefScheduler) OnOrderStatusChanged(order *model.GoodsOrder, status *mod
status.Status == model.OrderStatusApplyFailedGetGoods ||
status.Status == model.OrderStatusAgreeFailedGetGoods ||
status.Status == model.OrderStatusDeliverFailed {
if isPending {
if !isPending {
if status.Status == model.OrderStatusApplyCancel {
utils.CallFuncAsync(func() {
weixinmsg.NotifyUserApplyCancel(savedOrderInfo.order, status.Remark)