mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-29 03:48:20 +08:00
20 lines
409 B
JavaScript
20 lines
409 B
JavaScript
module.exports = (query, request) => {
|
|
const data = {
|
|
phone: query.phone,
|
|
captcha: query.captcha,
|
|
oldcaptcha: query.oldcaptcha,
|
|
countrycode: query.countrycode || '86',
|
|
}
|
|
return request(
|
|
'POST',
|
|
`https://music.163.com/api/user/replaceCellphone`,
|
|
data,
|
|
{
|
|
crypto: 'weapi',
|
|
cookie: query.cookie,
|
|
proxy: query.proxy,
|
|
realIP: query.realIP,
|
|
},
|
|
)
|
|
}
|