diff --git a/business/jxstore/cms/user2.go b/business/jxstore/cms/user2.go index 2a0b4b612..fd5a2e408 100644 --- a/business/jxstore/cms/user2.go +++ b/business/jxstore/cms/user2.go @@ -451,6 +451,7 @@ func DisableUser(ctx *jxcontext.Context, userID string) (err error) { func OnDingDingMsg(msg map[string]interface{}) (callbackResponse *dingdingapi.CallbackResponse) { eventType := utils.Interface2String(msg[dingdingapi.KeyEventType]) + globals.SugarLogger.Debugf("dingding msg 2:%s", utils.Format4Output(msg, false)) if eventType == dingdingapi.CBTagUserLeaveOrg { var ( authBind *model.AuthBind diff --git a/controllers/dingding_callback.go b/controllers/dingding_callback.go index b6696ff23..4962af2db 100644 --- a/controllers/dingding_callback.go +++ b/controllers/dingding_callback.go @@ -25,7 +25,7 @@ func (c *DingDingController) Msg() { obj, callbackResponse := api.DingDingAPI.GetCallbackMsg(dataMap, c.Ctx.Input.RequestBody) if callbackResponse == nil { globals.SugarLogger.Debugf("dingding msg, obj:%s", utils.Format4Output(obj, false)) - callbackResponse = cms.OnDingDingMsg(dataMap) + callbackResponse = cms.OnDingDingMsg(obj) if callbackResponse == nil { callbackResponse = api.DingDingAPI.Err2CallbackResponse(nil) }