From 5acde71be4292cf76bcdd14d223822c8ed8295a3 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Tue, 17 Aug 2021 15:10:03 +0800 Subject: [PATCH] aa --- platformapi/dingdingapi/callback.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platformapi/dingdingapi/callback.go b/platformapi/dingdingapi/callback.go index 0b60eb7e..8f7c29d2 100644 --- a/platformapi/dingdingapi/callback.go +++ b/platformapi/dingdingapi/callback.go @@ -219,7 +219,7 @@ func (a *API) GetCallbackMsg(formMap map[string]interface{}, bodyData []byte) (m baseapi.SugarLogger.Debugf("dingding GetCallbackMsg descryptMsg:%s", descryptMsg) err = utils.UnmarshalUseNumber([]byte(descryptMsg), &msgMap) } else { - fmt.Println("err ", err) + baseapi.SugarLogger.Debugf("dingdingapi GetCallbackMsg, Decrypt err :", err) } } return msgMap, a.Err2CallbackResponse(err) @@ -257,7 +257,6 @@ func (c *DingTalkCrypto) GetDecryptMsg(signature, timestamp, nonce, secretMsg st size := binary.BigEndian.Uint32(plantText[16:20]) plantText = plantText[20:] corpID := plantText[size:] - fmt.Println("222222222222222222222222222222222222", string(plantText[:size]), string(corpID)) if string(corpID) != c.SuiteKey { return "", errors.New("ERROR: CorpID匹配不正确") }