mtwmapi与ebaiapi返回api id的函数

This commit is contained in:
gazebo
2019-12-09 13:49:49 +08:00
parent d1a86752fc
commit 183791e49d
3 changed files with 9 additions and 1 deletions

View File

@@ -102,7 +102,7 @@ func (a *API) Decrypt(msg string) (decryptedMsg string, err error) {
if err = err2; err == nil {
var msgLen int32
if err = binary.Read(bytes.NewBuffer(binResult[16:]), binary.BigEndian, &msgLen); err == nil {
baseapi.SugarLogger.Debug(msgLen)
// baseapi.SugarLogger.Debug(msgLen)
decryptedMsg = string(binResult[16+4 : 16+4+msgLen])
}
}