chore(version): 更新api到4.28.0

Co-Authored-By: binaryify <binaryify@gmail.com>
This commit is contained in:
ImFurina
2025-09-07 13:20:37 +08:00
co-authored by binaryify
parent 5105a9a09d
commit 5478041ddd
24 changed files with 707 additions and 279 deletions
+7 -2
View File
@@ -87,8 +87,13 @@ const eapi = (url, object) => {
}
const eapiResDecrypt = (encryptedParams) => {
// 使用aesDecrypt解密参数
const decryptedData = aesDecrypt(encryptedParams, eapiKey, '', 'hex')
return JSON.parse(decryptedData)
try {
const decryptedData = aesDecrypt(encryptedParams, eapiKey, '', 'hex')
return JSON.parse(decryptedData)
} catch (error) {
console.log('eapiResDecrypt error:', error)
return null
}
}
const eapiReqDecrypt = (encryptedParams) => {
// 使用aesDecrypt解密参数