diff --git a/controllers/taobao_vegetable.go b/controllers/taobao_vegetable.go index 1e57e22f5..b557953a1 100644 --- a/controllers/taobao_vegetable.go +++ b/controllers/taobao_vegetable.go @@ -76,6 +76,10 @@ func (c *TaoBaoVegetableController) GetCode() { // OrderStatus 订单状态变化 [post] func (c *TaoBaoVegetableController) OrderStatus() { + c.Data["json"] = tao_vegetable.CallBackResultSign(nil) + c.ServeJSON() + return + urlParam := c.Ctx.Request.URL.RawQuery // 获取url参数 @@ -114,6 +118,10 @@ func (c *TaoBaoVegetableController) OrderStatus() { // ApplyCancelOrder 用户发起售后申请 func (c *TaoBaoVegetableController) ApplyCancelOrder() { + c.Data["json"] = tao_vegetable.CallBackResultSign(nil) + c.ServeJSON() + return + urlParam := c.Ctx.Request.URL.RawQuery // 获取url参数 @@ -153,6 +161,10 @@ func (c *TaoBaoVegetableController) ApplyCancelOrder() { // UserCancelRefund 用户取消售后 func (c *TaoBaoVegetableController) UserCancelRefund() { + c.Data["json"] = tao_vegetable.CallBackResultSign(nil) + c.ServeJSON() + return + urlParam := c.Ctx.Request.URL.RawQuery // 获取url参数 @@ -192,6 +204,10 @@ func (c *TaoBaoVegetableController) UserCancelRefund() { // CancelOnSaleRefundOrder 用户售中取消(走订单取消流程) func (c *TaoBaoVegetableController) CancelOnSaleRefundOrder() { + c.Data["json"] = tao_vegetable.CallBackResultSign(nil) + c.ServeJSON() + return + urlParam := c.Ctx.Request.URL.RawQuery // 获取url参数 @@ -231,6 +247,10 @@ func (c *TaoBaoVegetableController) CancelOnSaleRefundOrder() { // RefundOrderSuccess 用户售后成功通知,只有退款成功了才会通知(商户拒绝退款,不会通知) func (c *TaoBaoVegetableController) RefundOrderSuccess() { + c.Data["json"] = tao_vegetable.CallBackResultSign(nil) + c.ServeJSON() + return + urlParam := c.Ctx.Request.URL.RawQuery // 获取url参数