d8755880 by 冯轩

Merge branch 'feature/CHINARPA-5092' into feature/uat-tmp

2 parents 8df5628f 827dcb95
......@@ -10,7 +10,7 @@ def aes_decrypt_cbc(data, key, iv):
try:
cipher = AES.new(key.encode(), AES.MODE_CBC, iv.encode())
res = cipher.decrypt(b64decode(data))
res = res.decode('utf-8')
res = res.decode('utf-8').replace('\x0e', '')
except Exception as e:
res = ''
return res
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!