mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 22:51:23 +08:00
feat: crypto.js 重构 #1839
This commit is contained in:
+1
-1
@@ -201,7 +201,7 @@ const createRequest = (method, url, data = {}, options) => {
|
||||
)
|
||||
try {
|
||||
if (options.crypto === 'eapi') {
|
||||
answer.body = JSON.parse(encrypt.decrypt(body).toString())
|
||||
answer.body = JSON.parse(encrypt.decrypt(body))
|
||||
} else {
|
||||
answer.body = body
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user