mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 22:51:23 +08:00
Log in foreign phone
This commit is contained in:
@@ -5,6 +5,7 @@ const crypto = require('crypto')
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
phone: query.phone,
|
||||
countrycode: query.countrycode,
|
||||
password: crypto.createHash('md5').update(query.password).digest('hex'),
|
||||
rememberLogin: 'true'
|
||||
}
|
||||
@@ -12,4 +13,4 @@ module.exports = (query, request) => {
|
||||
'POST', `https://music.163.com/weapi/login/cellphone`, data,
|
||||
{crypto: 'weapi', ua: 'pc', cookie: query.cookie, proxy: query.proxy}
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user