POST api/v1/admin/AdminUser/Login
后台用户登录,并且返回token信息
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| loginReq | 登录信息 |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{
"userName": "sample string 1",
"password": "sample string 2"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Response body formats
application/json, text/json
Sample:
{
"data": {
"token": "sample string 1",
"adminUserId": 2,
"userName": "sample string 3",
"roleTypeTxt": "未定义",
"roleType": 0
},
"status": 0,
"friendlyMessage": "sample string 1",
"message": "sample string 2",
"requestId": "a85b80cb6c194e418b7c8419b3d6bbf9",
"appOwnerId": 0
}