captcha_sent.js 304 字节
Newer Older
1 2 3 4
// 发送验证码

module.exports = (query, request) => {
  const data = {
5 6
    ctcode: query.ctcode||'86',
    cellphone: query.phone,
7 8 9 10 11 12 13 14
  }
  return request(
    'POST',
    `https://music.163.com/weapi/sms/captcha/sent`,
    data,
    { crypto: 'weapi', cookie: query.cookie, proxy: query.proxy }
  )
}