You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
430 B
21 lines
430 B
4 years ago
|
// 检测手机号码是否已注册
|
||
|
|
||
|
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,
|
||
|
},
|
||
|
)
|
||
|
}
|