diff --git a/controllers/ebai_callback.go b/controllers/ebai_callback.go index 210bfc213..8133789aa 100644 --- a/controllers/ebai_callback.go +++ b/controllers/ebai_callback.go @@ -38,7 +38,7 @@ func (c *EbaiController) Msg() { callbackResponse = c.EBaiMsgPush2FruitsOrPet(model.ServerTypePet, utils.Struct2Map(obj, "", false)) case model.ServerTypePet: ddmsg.SendUserMessage(dingdingapi.MsgTyeText, "47B1E94E8D2411EFB666525400E86DC0", "饿了么菜市推果园,果园退超市未找到门店", fmt.Sprintf("cmd:%s,storeId:%s", obj.Cmd, vendorStoreId)) - callbackResponse = api.EbaiAPI.Err2CallbackResponse(ebaiapi.GetCmd(c.Ctx.Request), fmt.Errorf("饿了么菜市推果园,果园退超市未找到门店cmd:%s,storeId:%s", obj.Cmd, vendorStoreId), nil) + callbackResponse = api.EbaiAPI.Err2CallbackResponse(ebaiapi.GetCmd(c.Ctx.Request), nil, nil) // api.EbaiAPI.Err2CallbackResponse(ebaiapi.GetCmd(c.Ctx.Request), fmt.Errorf("饿了么菜市推果园,果园退超市未找到门店cmd:%s,storeId:%s", obj.Cmd, vendorStoreId), nil) return } c.Data["json"] = callbackResponse diff --git a/controllers/mtwm_callback.go b/controllers/mtwm_callback.go index be1b0662d..7d5811c85 100644 --- a/controllers/mtwm_callback.go +++ b/controllers/mtwm_callback.go @@ -46,7 +46,7 @@ func (c *MtwmController) onCallbackMsg(msgType string) { callbackResponse = pushMTWMOrder2GY(msg.FormData, msgType, model.ServerTypePet) case model.ServerTypePet: ddmsg.SendUserMessage(dingdingapi.MsgTyeText, "47B1E94E8D2411EFB666525400E86DC0", "饿了么菜市推果园,果园退超市未找到门店", fmt.Sprintf("cmd:%s,storeId:%s", msgType, vendorStoreId)) - callbackResponse = mtwmapi.Err2CallbackResponse(fmt.Errorf("美团菜市推果园,果园退超市未找到门店cmd:%s,storeId:%s", msgType, vendorStoreId), "") + callbackResponse = mtwmapi.Err2CallbackResponse(nil, "") // mtwmapi.Err2CallbackResponse(fmt.Errorf("美团菜市推果园,果园退超市未找到门店cmd:%s,storeId:%s", msgType, vendorStoreId), "") return } c.Data["json"] = callbackResponse