feat: add xeapi support and refactor eapi_decrypt to api_decrypt

- Added xeapi option to the API selection dropdown in api.html.
- Removed eapi_decrypt.html and created a new api_decrypt.html for unified API decryption.
- Implemented multi-crypto support in api_decrypt.html with corresponding UI changes.
- Created decrypt.js module to handle decryption logic for different crypto types including xeapi.
- Updated request.js to remove unnecessary debug logs and improve code clarity.
- Updated index.html to link to the new api_decrypt.html instead of the removed eapi_decrypt.html.
This commit is contained in:
MoeFurina
2026-05-30 00:17:24 +08:00
parent 3e0337ab94
commit d0935f6e42
10 changed files with 950 additions and 411 deletions
+5 -1
View File
@@ -53,5 +53,9 @@ module.exports = async (query, request) => {
if (data.level == 'sky') {
data.immerseType = 'c51'
}
return request(`/api/song/enhance/player/url/v1`, data, createOption(query))
return request(
`/api/song/enhance/player/url/v1`,
data,
createOption(query, 'xeapi'),
)
}