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": "9a2cc30b1aeb4dbd9d5fd0f47fd94e6d",
  "appOwnerId": 0
}