GET api/member/info?token={token}&terminal={terminal}&time_stamp={time_stamp}&random={random}&sign={sign}

获取会员信息,也可以用来判断用户登录超时

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

None.

terminal

终端

Terminal

None.

time_stamp

时间戳

string

None.

random

随机数

integer

None.

sign

签名

string

None.

Body Parameters

None.

Response Information

Resource Description

ApiResultOfMemberInfo
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

data

MemberInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 2",
  "data": {
    "id": "a6cd4b25-e420-48da-8c46-aa67e36cecfb",
    "username": "sample string 2",
    "name": "sample string 3",
    "PhoneNumber": "sample string 4",
    "Email": "sample string 5",
    "login_time": "2025-07-12T07:59:35.5636815+00:00"
  }
}

application/xml, text/xml

Sample:
<ApiResultOfMemberInfoWjQ9Dvjw xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChinaTrainTickets.Web.Areas.webApi.Models">
  <code>1</code>
  <data>
    <Email>sample string 5</Email>
    <PhoneNumber>sample string 4</PhoneNumber>
    <id>a6cd4b25-e420-48da-8c46-aa67e36cecfb</id>
    <login_time>2025-07-12T07:59:35.5636815+00:00</login_time>
    <name>sample string 3</name>
    <username>sample string 2</username>
  </data>
  <message>sample string 2</message>
</ApiResultOfMemberInfoWjQ9Dvjw>