mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-23 16:11:24 +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