绑定手机
开发中
POST
/api/user/bindMobile
请求参数
Header 参数
token
string
必需
默认值:
{{'38a327e6732714e2a48e0b5d3038b2cc'}}
Body 参数application/x-www-form-urlencoded
type
string
必需
mobile
string
手机号
code
string
验证码
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/user/bindMobile' \
--header 'token;' \
--data-urlencode 'type=' \
--data-urlencode 'mobile=' \
--data-urlencode 'code='
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
array[string]
必需
示例
{"code":1,"show":1,"msg":"绑定成功","data":[]}
修改于 2022-11-12 09:31:34