mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
add countrycode for cellphone check
This commit is contained in:
parent
2134432750
commit
521b98ea46
@ -362,7 +362,8 @@ Cookies
|
||||
说明 : 调用此接口 ,可检测手机号码是否已注册
|
||||
**必选参数 :**
|
||||
`phone` : 手机号码
|
||||
|
||||
**可选参数 :**
|
||||
`countrycode`: 国家码,用于国外手机号,例如美国传入:`1`
|
||||
**接口地址 :** `/cellphone/existence/check`
|
||||
|
||||
**调用例子 :** `/cellphone/existence/check?phone=13xxx`
|
||||
|
@ -2,7 +2,8 @@
|
||||
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
cellphone: query.phone
|
||||
cellphone: query.phone,
|
||||
countrycode: query.countrycode
|
||||
};
|
||||
return request(
|
||||
'POST',
|
||||
|
Loading…
x
Reference in New Issue
Block a user