mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-23 16:11:24 +08:00
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:
@@ -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'),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user