Commit baac2e4d authored by 郑磊's avatar 郑磊

1

parent 54d55e51
...@@ -311,7 +311,7 @@ function decryptResponseData(result: ApiResp, key: string, iv: string) { ...@@ -311,7 +311,7 @@ function decryptResponseData(result: ApiResp, key: string, iv: string) {
//响应体不是对象 //响应体不是对象
if (typeof result !== 'object' || !result) return if (typeof result !== 'object' || !result) return
//响应体上没有encrypted_data属性 //响应体上没有encrypted_data属性
if (typeof result.encrypted_data !== 'string' || !result.data.encrypted_data) return if (typeof result.encrypted_data !== 'string' || !result.encrypted_data) return
const decrypted = aesDecrypt(result.encrypted_data, key, iv) const decrypted = aesDecrypt(result.encrypted_data, key, iv)
......
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