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