From 9f92a140d49532c37bf8c74ac4f134e00ce384c5 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Tue, 17 Aug 2021 14:50:56 +0800 Subject: [PATCH] aa --- platformapi/dingdingapi/callback.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platformapi/dingdingapi/callback.go b/platformapi/dingdingapi/callback.go index 1cc08a01..ec845e85 100644 --- a/platformapi/dingdingapi/callback.go +++ b/platformapi/dingdingapi/callback.go @@ -130,6 +130,7 @@ func (a *API) Decrypt(sign, timestr, nonce, msg string) (decryptedMsg string, er // } //} c := NewDingTalkCrypto(a.GetCallbackToken(), string(a.GetCallbackAESKey()), a.corpID) + fmt.Println("1111111111111111111111111111111111111111111111111111") return c.GetDecryptMsg(sign, timestr, nonce, msg) } @@ -264,6 +265,7 @@ func (c *DingTalkCrypto) GetDecryptMsg(signature, timestamp, nonce, secretMsg st if string(corpID) != c.SuiteKey { return "", errors.New("ERROR: CorpID匹配不正确") } + fmt.Println("222222222222222222222222222222222222") return string(plantText[:size]), nil }