Merge pull request #598 from boyan01/master

add countrycode for cellphone check
This commit is contained in:
binaryify
2019-09-24 10:09:39 +08:00
committed by GitHub
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -362,7 +362,8 @@ Cookies
说明 : 调用此接口 ,可检测手机号码是否已注册
**必选参数 :**
`phone` : 手机号码
**可选参数 :**
`countrycode`: 国家码,用于国外手机号,例如美国传入:`1`
**接口地址 :** `/cellphone/existence/check`
**调用例子 :** `/cellphone/existence/check?phone=13xxx`
+2 -1
View File
@@ -2,7 +2,8 @@
module.exports = (query, request) => {
const data = {
cellphone: query.phone
cellphone: query.phone,
countrycode: query.countrycode
};
return request(
'POST',