YesPlayMusic/netease_api/module/cellphone_existence_check.js

21 lines
430 B
JavaScript
Raw Normal View History

2021-03-06 22:04:18 +08:00
// 检测手机号码是否已注册
module.exports = (query, request) => {
const data = {
cellphone: query.phone,
countrycode: query.countrycode,
}
return request(
'POST',
`https://music.163.com/eapi/cellphone/existence/check`,
data,
{
crypto: 'eapi',
cookie: query.cookie,
proxy: query.proxy,
url: '/api/cellphone/existence/check',
realIP: query.realIP,
},
)
}