GET api/Web/User/Info
获取当前用户的个人信息。
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
获取当前用户的个人信息。
WebUserInfoParmName | Description | Type | Additional information |
---|---|---|---|
userid |
会员代码 |
integer |
None. |
username |
用户名 |
string |
Required Max length: 20 |
mobile |
手机 |
string |
Required Max length: 11 |
fname |
姓名 |
string |
Max length: 60 |
sex |
性别M男,W女 |
string |
Max length: 1 |
certificatetype |
证件类型 Char(1) 1 二代居民身份证2 军官证,士兵证3 护照 4 其他 |
string |
Max length: 1 |
certificatecode |
身份证号 |
string |
Max length: 20 |
nation |
民族 Varchar(20) |
string |
Max length: 20 |
address |
地址 Varchar(200) |
string |
Max length: 200 |
status |
状态 Char(1) 1正常, 3已禁用 |
string |
Max length: 1 |
disabledate |
禁用日期 YYYYMMDD |
string |
Max length: 8 |
EMAIL Varchar(60) |
string |
Max length: 60 |
|
regdate |
注册日期时间 char(14) YYYYMMDDHHmmss |
string |
Max length: 14 |
reserve1 |
保留一 |
string |
Max length: 50 |
reserve2 |
保留2 |
string |
Max length: 50 |
reserve3 |
保留3 |
string |
Max length: 50 |
password |
密码的密文:TripleDes(UPPER_MD5(登陆密码),GetKeys(HAWK认证KEY)) 当前类的实例用于更新用户信息时,此属性无效(没有任何用途)。 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "userid": 1, "username": "sample string 2", "mobile": "sample string 3", "fname": "sample string 4", "sex": "sample string 5", "certificatetype": "sample string 6", "certificatecode": "sample string 7", "nation": "sample string 8", "address": "sample string 9", "status": "sample string 10", "disabledate": "sample string 11", "email": "sample string 12", "regdate": "sample string 13", "reserve1": "sample string 14", "reserve2": "sample string 15", "reserve3": "sample string 16", "password": "sample string 17" }
application/xml, text/xml
Sample:
<WebUserInfoParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.Dosimeter"> <address>sample string 9</address> <certificatecode>sample string 7</certificatecode> <certificatetype>sample string 6</certificatetype> <disabledate>sample string 11</disabledate> <email>sample string 12</email> <fname>sample string 4</fname> <mobile>sample string 3</mobile> <nation>sample string 8</nation> <password>sample string 17</password> <regdate>sample string 13</regdate> <reserve1>sample string 14</reserve1> <reserve2>sample string 15</reserve2> <reserve3>sample string 16</reserve3> <sex>sample string 5</sex> <status>sample string 10</status> <userid>1</userid> <username>sample string 2</username> </WebUserInfoParm>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.