mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-25 17:56:39 +08:00
21 lines
430 B
JavaScript
21 lines
430 B
JavaScript
// 检测手机号码是否已注册
|
|
|
|
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,
|
|
},
|
|
)
|
|
}
|