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