POST zd/Users/UserLogin

APP和PC用户登录

Request Information

URI Parameters

None.

Body Parameters

UserLoginModel
NameDescriptionTypeAdditional information
userName

用户名

string

None.

passWord

密码

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userName": "sample string 1",
  "passWord": "sample string 2"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

application/x-msgpack

Sample:

Sample not available.

Response Information

Resource Description

UserDatas
NameDescriptionTypeAdditional information
UserId

integer

None.

UserName

string

None.

Roles

Collection of string

None.

ExpireTime

string

None.

HomeUrl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "UserName": "sample string 2",
  "Roles": [
    "sample string 1",
    "sample string 2"
  ],
  "ExpireTime": "sample string 3",
  "HomeUrl": "sample string 4"
}

application/x-msgpack

Sample:

Sample not available.