POST api/User/UserLogin
用户登录(可使用用户名、手机号、邮箱地址等配合密码一起登录)
Request Information
URI Parameters
None.
Body Parameters
UserReq| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName |
用户名 |
string |
None. |
| Pwd |
密码 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"Pwd": "sample string 2"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JResultOfString| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Error | string |
None. |
|
| Result | string |
None. |
|
| Success | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"Error": "sample string 2",
"Result": "sample string 3",
"Success": true
}