1
This commit is contained in:
@@ -231,12 +231,10 @@ func (c *TaoBaoVegetableController) CancelOnSaleRefundOrder() {
|
||||
return
|
||||
}
|
||||
|
||||
if order.Status < model.OrderStatusDelivering || order.Status == model.OrderStatusCanceled {
|
||||
if order.Status == model.OrderStatusCanceled {
|
||||
c.Data["json"] = tao_vegetable.CallBackResultOnSaleCancel(nil)
|
||||
c.ServeJSON()
|
||||
}
|
||||
|
||||
if order.Status >= model.OrderStatusDelivering {
|
||||
c.Data["json"] = tao_vegetable.CallBackResultOnSaleCancel(fmt.Errorf("不支持售中取消"))
|
||||
c.ServeJSON()
|
||||
@@ -245,7 +243,6 @@ func (c *TaoBaoVegetableController) CancelOnSaleRefundOrder() {
|
||||
c.ServeJSON()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// RefundOrderSuccess 用户售后成功通知,只有退款成功了才会通知(商户拒绝退款,不会通知)
|
||||
|
||||
Reference in New Issue
Block a user