POST api/v1/admin/AdminUser/Login

后台用户登录,并且返回token信息

Request Information

Parameters

NameDescriptionAdditional 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": "f624566ed87a490bb8872ae5fafa689e",
  "appOwnerId": 0
}