POST api/ClientUser/user/login
[已完成] 用户登录
Request Information
URI Parameters
None.
Body Parameters
UserLoginRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| mobile |
手机号(印度手机号为 91 开头,总长 12 位) |
string |
Required |
| otp |
OTP(印度手机验证码) |
string |
Required |
Request Formats
application/json, text/json
Sample:
{
"mobile": "sample string 1",
"otp": "sample string 2"
}
Response Information
Resource Description
UserLoginResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| user_token |
user_token |
string |
None. |
| expired |
user_token 过期时间 |
string |
None. |
| code |
1 为成功,其他为失败 |
integer |
None. |
| msg |
请求描述 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"user_token": "sample string 1",
"expired": "sample string 2",
"code": 3,
"msg": "sample string 4"
}