v3.18.0 新增 更换绑定手机接口 #518

This commit is contained in:
binaryify
2019-06-29 16:24:31 +08:00
parent a6b072ab39
commit 6bc08d95e4
8 changed files with 52 additions and 8 deletions

16
module/rebind.js Normal file
View 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 }
);
};