This commit is contained in:
邹宗楠
2023-06-29 17:56:48 +08:00
parent 7ce75a1354
commit 61295e66ec

View File

@@ -104,11 +104,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