From f7e58317074bd4d99381053f03ae351174859b6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Fri, 13 Dec 2024 17:04:52 +0800 Subject: [PATCH] 1 --- controllers/ebai_callback.go | 2 +- controllers/mtwm_callback.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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