update: 返回数据优化

This commit is contained in:
binaryify
2024-05-07 15:30:04 +08:00
parent 15a2e1bcdf
commit b6310e1b24
4 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ const eapi = (url, object) => {
const eapiResDecrypt = (encryptedParams) => {
// 使用aesDecrypt解密参数
const decryptedData = aesDecrypt(encryptedParams, eapiKey, '', 'hex')
return decryptedData
return JSON.parse(decryptedData)
}
const eapiReqDecrypt = (encryptedParams) => {
// 使用aesDecrypt解密参数