This commit is contained in:
邹宗楠
2025-08-22 10:09:24 +08:00
parent 5e12103f24
commit 57f057cf42
3 changed files with 5 additions and 4 deletions

View File

@@ -52,9 +52,7 @@ func (c *MtwmController) onCallbackMsg(msgType string) {
case model.ServerTypePet:
callbackResponse = mtwmapi.Err2CallbackResponse(nil, "") // mtwmapi.Err2CallbackResponse(fmt.Errorf("美团菜市推果园,果园退超市未找到门店cmd:%s,storeId:%s", msgType, vendorStoreId), "")
}
if time.Now().Hour() > 9 && time.Now().Hour() < 10 {
ddmsg.SendUserMessage(dingdingapi.MsgTyeText, "2452A93EEB9111EC9B06525400E86DC0", "淘鲜达token过期", utils.Format4Output(MTWMVendorStoreIDDontHaveMap, false))
}
globals.SugarLogger.Debugf("MTWMVendorStoreIDDontHaveMap := %s", utils.Format4Output(MTWMVendorStoreIDDontHaveMap, false))
//c.Data["json"] = callbackResponse
c.Data["json"] = mtwmapi.Err2CallbackResponse(nil, "")
c.ServeJSON()