mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-07 01:22:08 +08:00
v3.0.0
This commit is contained in:
@ -66,6 +66,9 @@ function createRequest(method, url, data, options){
|
||||
try{
|
||||
answer.body = JSON.parse(body)
|
||||
answer.status = answer.body.code || res.statusCode
|
||||
if(answer.body.code=='301'){
|
||||
answer.body.apiMsg='需要登陆'
|
||||
}
|
||||
}
|
||||
catch(e){
|
||||
answer.body = body
|
||||
|
Reference in New Issue
Block a user