POST api/TMSApp/AuthUser/Login?loginName={loginName}&pwd={pwd}

用户登录接口

Request Information

URI Parameters

NameDescriptionTypeAdditional information
loginName

登录名

string

Required

pwd

密码

string

Required

Body Parameters

None.

Response Information

Resource Description

用户登录接口

MsgBaseApiPageOfUserInfo
NameDescriptionTypeAdditional information
Status

返回状态0:失败,1:成功

integer

None.

Msg

返回消息

string

None.

Data

返回数据内容,默认为空

UserInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Msg": "sample string 2",
  "Data": {
    "ID": 1,
    "Account": "sample string 2",
    "NickName": "sample string 3",
    "Sex": 1,
    "CorpID": 4,
    "CorpName": "sample string 5",
    "Phone": "sample string 6",
    "UserType": 7,
    "UserPic": "sample string 8",
    "IsCorpPrimary": 9,
    "UserPosition": "",
    "Token": "sample string 11",
    "UserResource": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "latlng": "sample string 12",
    "IDCardPicUrl": "sample string 13",
    "IdCardNumber": "sample string 14"
  }
}