Skip to content

Commit

Permalink
拉取WxOpen代码,解决冲突
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreySu committed Oct 22, 2018
2 parents 2a33c93 + 549becc commit 8400bf7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ private static byte[] AES_Decrypt(String Input, byte[] Iv, byte[] Key)
// cs.Close();
// ms.Close();

//cs.FlushFinalBlock();//用于解决第二次获取小程序Session解密出错的情况

byte[] xXml = Convert.FromBase64String(Input);
byte[] msg = new byte[xXml.Length + 32 - xXml.Length % 32];
Array.Copy(xXml, msg, xXml.Length);
Expand Down

0 comments on commit 8400bf7

Please sign in to comment.