Commit 28e23eb9 authored by xianyang's avatar xianyang

优化公会同步接口

parent 4c214cc6
......@@ -266,7 +266,8 @@ def AES_Decrypt(data):
Logger(40).logger.error(f"php数据解密异常:{str(e)},数据:{plaintext}")
coding_data = str(plaintext, encoding="utf-8")
num = coding_data.index(']')
return list(eval(coding_data[:num + 1]))
missing_value = coding_data[:num + 1]
return list(eval(missing_value.replace('null', '""')))
return res_data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment