mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-06 23:12:06 +08:00
v3.18.0 新增 更换绑定手机接口
#518
This commit is contained in:
16
module/rebind.js
Normal file
16
module/rebind.js
Normal file
@ -0,0 +1,16 @@
|
||||
// 更换手机
|
||||
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
captcha: query.captcha,
|
||||
phone: query.phone,
|
||||
oldcaptcha: query.oldcaptcha,
|
||||
ctcode: query.ctcode || "86"
|
||||
};
|
||||
return request(
|
||||
"POST",
|
||||
`https://music.163.com/api/user/replaceCellphone`,
|
||||
data,
|
||||
{ crypto: "weapi", cookie: query.cookie, proxy: query.proxy }
|
||||
);
|
||||
};
|
Reference in New Issue
Block a user