refactor: 重构模块加载

Refactored main.js to optimize module and server loading, improving code clarity and lazy loading. Updated several dependencies in package.json to their latest versions for better security and compatibility. Updated documentation cover page and home page to reflect project branding changes.

Co-Authored-By: binaryify <binaryify@gmail.com>
This commit is contained in:
ImFurina
2025-09-07 13:08:26 +08:00
co-authored by binaryify
parent 4f4aa134d5
commit abd0c9ca91
13 changed files with 656 additions and 294 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解密参数