From 75708b932f55c1dd27dbfb03b9cbca751c6ec4cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 29 Jun 2023 09:33:50 +0800 Subject: [PATCH] 1 --- controllers/taobao_vegetable.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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参数