mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
15 lines
306 B
JavaScript
15 lines
306 B
JavaScript
// 发送验证码
|
|
|
|
module.exports = (query, request) => {
|
|
const data = {
|
|
ctcode: query.ctcode || '86',
|
|
cellphone: query.phone,
|
|
}
|
|
return request(
|
|
'POST',
|
|
`https://music.163.com/weapi/sms/captcha/sent`,
|
|
data,
|
|
{ crypto: 'weapi', cookie: query.cookie, proxy: query.proxy }
|
|
)
|
|
}
|