aa
This commit is contained in:
@@ -257,7 +257,7 @@ 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]), corpID)
|
||||
fmt.Println("222222222222222222222222222222222222", string(plantText[:size]), string(corpID))
|
||||
if string(corpID) != c.SuiteKey {
|
||||
return "", errors.New("ERROR: CorpID匹配不正确")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user