fix: 修复了手机号登录接口

This commit is contained in:
13574 2022-12-17 17:38:02 +08:00
parent a85797665d
commit fe0ee3fba1
No known key found for this signature in database
GPG Key ID: 8E7F775418622544
2 changed files with 483 additions and 371 deletions

View File

@ -4,7 +4,7 @@ const crypto = require('crypto')
module.exports = async (query, request) => {
query.cookie.os = 'pc'
query.cookie.appver = '2.9.7'
query.cookie.appver = '2.10.6'
const data = {
phone: query.phone,
countrycode: query.countrycode || '86',
@ -17,7 +17,7 @@ module.exports = async (query, request) => {
}
let result = await request(
'POST',
`https://music.163.com/api/login/cellphone`,
`https://music.163.com/eapi/w/login/cellphone`,
data,
{
crypto: 'weapi',

850
package-lock.json generated

File diff suppressed because it is too large Load Diff