POST api/admin/login

【管理员】 登录

Request Information

URI Parameters

None.

Body Parameters

AdminLoginRequst
NameDescriptionTypeAdditional information
username

用户名

string

Required

Max length: 25

password

密码(32位MD5)

string

Required

String length: inclusive between 32 and 32

code

验证码

string

Required

String length: inclusive between 6 and 6

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2",
  "code": "sample string 3"
}

Response Information

Resource Description

【管理员】 登录

MyResponse
NameDescriptionTypeAdditional information
code

integer

None.

msg

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2",
  "data": {}
}