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 }