mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 22:51:23 +08:00
v3.18.0 新增 更换绑定手机接口 #518
This commit is contained in:
@@ -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