mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-12-08 08:13:11 +00:00
去除多余代码
This commit is contained in:
parent
06e522b684
commit
9443bb2562
@ -14,16 +14,14 @@ module.exports = async (query, request) => {
|
||||
{ crypto: 'weapi', ua: 'pc', cookie: query.cookie, proxy: query.proxy }
|
||||
)
|
||||
if (result.body.code === 502) {
|
||||
return new Promise(resolve => {
|
||||
resolve({
|
||||
return {
|
||||
status: 200,
|
||||
body: {
|
||||
'msg': '账号或密码错误',
|
||||
'code': 502,
|
||||
'message': '账号或密码错误'
|
||||
}
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
return result
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user