1
This commit is contained in:
@@ -76,10 +76,6 @@ func (c *TaoBaoVegetableController) GetCode() {
|
|||||||
|
|
||||||
// OrderStatus 订单状态变化 [post]
|
// OrderStatus 订单状态变化 [post]
|
||||||
func (c *TaoBaoVegetableController) OrderStatus() {
|
func (c *TaoBaoVegetableController) OrderStatus() {
|
||||||
//c.Data["json"] = tao_vegetable.CallBackResultSign(nil)
|
|
||||||
//c.ServeJSON()
|
|
||||||
//return
|
|
||||||
|
|
||||||
urlParam := c.Ctx.Request.URL.RawQuery
|
urlParam := c.Ctx.Request.URL.RawQuery
|
||||||
|
|
||||||
// 获取url参数
|
// 获取url参数
|
||||||
@@ -104,11 +100,11 @@ func (c *TaoBaoVegetableController) OrderStatus() {
|
|||||||
c.Data["json"] = tao_vegetable.CallBackResultSign(fmt.Errorf("非法签名"))
|
c.Data["json"] = tao_vegetable.CallBackResultSign(fmt.Errorf("非法签名"))
|
||||||
c.ServeJSON()
|
c.ServeJSON()
|
||||||
return
|
return
|
||||||
} else {
|
} /* else {
|
||||||
c.Data["json"] = tao_vegetable.CallBackResultSign(nil)
|
c.Data["json"] = tao_vegetable.CallBackResultSign(nil)
|
||||||
c.ServeJSON()
|
c.ServeJSON()
|
||||||
return
|
return
|
||||||
}
|
}*/
|
||||||
|
|
||||||
callbackResponse := taoVegetable.OnCallbackMsg(tao_vegetable.OrderStatusChange, utils.Int64ToStr(order.BizOrderId), order)
|
callbackResponse := taoVegetable.OnCallbackMsg(tao_vegetable.OrderStatusChange, utils.Int64ToStr(order.BizOrderId), order)
|
||||||
c.Data["json"] = callbackResponse
|
c.Data["json"] = callbackResponse
|
||||||
@@ -118,10 +114,6 @@ func (c *TaoBaoVegetableController) OrderStatus() {
|
|||||||
|
|
||||||
// ApplyCancelOrder 用户发起售后申请
|
// ApplyCancelOrder 用户发起售后申请
|
||||||
func (c *TaoBaoVegetableController) ApplyCancelOrder() {
|
func (c *TaoBaoVegetableController) ApplyCancelOrder() {
|
||||||
//c.Data["json"] = tao_vegetable.CallBackResultSign(nil)
|
|
||||||
//c.ServeJSON()
|
|
||||||
//return
|
|
||||||
|
|
||||||
urlParam := c.Ctx.Request.URL.RawQuery
|
urlParam := c.Ctx.Request.URL.RawQuery
|
||||||
|
|
||||||
// 获取url参数
|
// 获取url参数
|
||||||
@@ -147,11 +139,11 @@ func (c *TaoBaoVegetableController) ApplyCancelOrder() {
|
|||||||
c.Data["json"] = tao_vegetable.CallBackResultSign(fmt.Errorf("非法签名"))
|
c.Data["json"] = tao_vegetable.CallBackResultSign(fmt.Errorf("非法签名"))
|
||||||
c.ServeJSON()
|
c.ServeJSON()
|
||||||
return
|
return
|
||||||
} else {
|
} /* else {
|
||||||
c.Data["json"] = tao_vegetable.CallBackResultSign(nil)
|
c.Data["json"] = tao_vegetable.CallBackResultSign(nil)
|
||||||
c.ServeJSON()
|
c.ServeJSON()
|
||||||
return
|
return
|
||||||
}
|
}*/
|
||||||
|
|
||||||
callbackResponse := taoVegetable.OnCallbackMsg(tao_vegetable.OrderStatusApplyAfs, afsOrder.OutOrderId, afsOrder)
|
callbackResponse := taoVegetable.OnCallbackMsg(tao_vegetable.OrderStatusApplyAfs, afsOrder.OutOrderId, afsOrder)
|
||||||
c.Data["json"] = callbackResponse
|
c.Data["json"] = callbackResponse
|
||||||
@@ -161,10 +153,6 @@ func (c *TaoBaoVegetableController) ApplyCancelOrder() {
|
|||||||
|
|
||||||
// UserCancelRefund 用户取消售后
|
// UserCancelRefund 用户取消售后
|
||||||
func (c *TaoBaoVegetableController) UserCancelRefund() {
|
func (c *TaoBaoVegetableController) UserCancelRefund() {
|
||||||
//c.Data["json"] = tao_vegetable.CallBackResultSign(nil)
|
|
||||||
//c.ServeJSON()
|
|
||||||
//return
|
|
||||||
|
|
||||||
urlParam := c.Ctx.Request.URL.RawQuery
|
urlParam := c.Ctx.Request.URL.RawQuery
|
||||||
|
|
||||||
// 获取url参数
|
// 获取url参数
|
||||||
@@ -190,11 +178,11 @@ func (c *TaoBaoVegetableController) UserCancelRefund() {
|
|||||||
c.Data["json"] = tao_vegetable.CallBackResultSign(fmt.Errorf("非法签名"))
|
c.Data["json"] = tao_vegetable.CallBackResultSign(fmt.Errorf("非法签名"))
|
||||||
c.ServeJSON()
|
c.ServeJSON()
|
||||||
return
|
return
|
||||||
} else {
|
} /*else {
|
||||||
c.Data["json"] = tao_vegetable.CallBackResultSign(nil)
|
c.Data["json"] = tao_vegetable.CallBackResultSign(nil)
|
||||||
c.ServeJSON()
|
c.ServeJSON()
|
||||||
return
|
return
|
||||||
}
|
}*/
|
||||||
|
|
||||||
callbackResponse := taoVegetable.OnCallbackMsg(tao_vegetable.OrderStatusCancelAfs, afsOrder.OutOrderId, afsOrder)
|
callbackResponse := taoVegetable.OnCallbackMsg(tao_vegetable.OrderStatusCancelAfs, afsOrder.OutOrderId, afsOrder)
|
||||||
c.Data["json"] = callbackResponse
|
c.Data["json"] = callbackResponse
|
||||||
@@ -204,10 +192,6 @@ func (c *TaoBaoVegetableController) UserCancelRefund() {
|
|||||||
|
|
||||||
// CancelOnSaleRefundOrder 用户售中取消(走订单取消流程)
|
// CancelOnSaleRefundOrder 用户售中取消(走订单取消流程)
|
||||||
func (c *TaoBaoVegetableController) CancelOnSaleRefundOrder() {
|
func (c *TaoBaoVegetableController) CancelOnSaleRefundOrder() {
|
||||||
//c.Data["json"] = tao_vegetable.CallBackResultSign(nil)
|
|
||||||
//c.ServeJSON()
|
|
||||||
//return
|
|
||||||
|
|
||||||
urlParam := c.Ctx.Request.URL.RawQuery
|
urlParam := c.Ctx.Request.URL.RawQuery
|
||||||
|
|
||||||
// 获取url参数
|
// 获取url参数
|
||||||
@@ -233,11 +217,11 @@ func (c *TaoBaoVegetableController) CancelOnSaleRefundOrder() {
|
|||||||
c.Data["json"] = tao_vegetable.CallBackResultSign(fmt.Errorf("非法签名"))
|
c.Data["json"] = tao_vegetable.CallBackResultSign(fmt.Errorf("非法签名"))
|
||||||
c.ServeJSON()
|
c.ServeJSON()
|
||||||
return
|
return
|
||||||
} else {
|
} /* else {
|
||||||
c.Data["json"] = tao_vegetable.CallBackResultSign(nil)
|
c.Data["json"] = tao_vegetable.CallBackResultSign(nil)
|
||||||
c.ServeJSON()
|
c.ServeJSON()
|
||||||
return
|
return
|
||||||
}
|
}*/
|
||||||
|
|
||||||
callbackResponse := taoVegetable.OnCallbackMsg(tao_vegetable.OrderStatusOnSaleCancel, utils.Int64ToStr(afsOrder.PartCancelRequest.BizOrderId), afsOrder)
|
callbackResponse := taoVegetable.OnCallbackMsg(tao_vegetable.OrderStatusOnSaleCancel, utils.Int64ToStr(afsOrder.PartCancelRequest.BizOrderId), afsOrder)
|
||||||
c.Data["json"] = callbackResponse
|
c.Data["json"] = callbackResponse
|
||||||
@@ -247,10 +231,6 @@ func (c *TaoBaoVegetableController) CancelOnSaleRefundOrder() {
|
|||||||
|
|
||||||
// RefundOrderSuccess 用户售后成功通知,只有退款成功了才会通知(商户拒绝退款,不会通知)
|
// RefundOrderSuccess 用户售后成功通知,只有退款成功了才会通知(商户拒绝退款,不会通知)
|
||||||
func (c *TaoBaoVegetableController) RefundOrderSuccess() {
|
func (c *TaoBaoVegetableController) RefundOrderSuccess() {
|
||||||
//c.Data["json"] = tao_vegetable.CallBackResultSign(nil)
|
|
||||||
//c.ServeJSON()
|
|
||||||
//return
|
|
||||||
|
|
||||||
urlParam := c.Ctx.Request.URL.RawQuery
|
urlParam := c.Ctx.Request.URL.RawQuery
|
||||||
|
|
||||||
// 获取url参数
|
// 获取url参数
|
||||||
@@ -275,11 +255,11 @@ func (c *TaoBaoVegetableController) RefundOrderSuccess() {
|
|||||||
c.Data["json"] = tao_vegetable.CallBackResultSign(fmt.Errorf("非法签名"))
|
c.Data["json"] = tao_vegetable.CallBackResultSign(fmt.Errorf("非法签名"))
|
||||||
c.ServeJSON()
|
c.ServeJSON()
|
||||||
return
|
return
|
||||||
} else {
|
} /*else {
|
||||||
c.Data["json"] = tao_vegetable.CallBackResultSign(nil)
|
c.Data["json"] = tao_vegetable.CallBackResultSign(nil)
|
||||||
c.ServeJSON()
|
c.ServeJSON()
|
||||||
return
|
return
|
||||||
}
|
}*/
|
||||||
|
|
||||||
callbackResponse := taoVegetable.OnCallbackMsg(tao_vegetable.OrderStatusRefundSuccess, refundSuccess.OutSubOrderId, refundSuccess)
|
callbackResponse := taoVegetable.OnCallbackMsg(tao_vegetable.OrderStatusRefundSuccess, refundSuccess.OutSubOrderId, refundSuccess)
|
||||||
c.Data["json"] = callbackResponse
|
c.Data["json"] = callbackResponse
|
||||||
|
|||||||
Reference in New Issue
Block a user