未验证 提交 28ad5789 编写于 作者: B binaryify 提交者: GitHub

Merge pull request #598 from boyan01/master

add countrycode for cellphone check
......@@ -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',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册