up
This commit is contained in:
@@ -36,6 +36,7 @@ func (c *DadaDeliveryController) Msg() {
|
||||
func (c *DadaDeliveryController) Notify() {
|
||||
if c.Ctx.Input.Method() == http.MethodPost {
|
||||
obj, notifyResponse := api.DadaAPI.GetNotifyMsg(c.Ctx.Input.RequestBody)
|
||||
globals.SugarLogger.Debugf("dada notify, obj:%s", utils.Format4Output(obj, false))
|
||||
if notifyResponse == nil {
|
||||
err := api.DadaAPI.ConfirmRidderCancel(obj.MessageObj.OrderID, obj.MessageObj.DadaOrderID, true)
|
||||
globals.SugarLogger.Debugf("dada notify, obj:%s, err:%v", utils.Format4Output(obj, false), err)
|
||||
|
||||
Reference in New Issue
Block a user