POST User/setUserInfo

修改个人信息

Request Information

URI Parameters

None.

Body Parameters

userDetailInfoQuery
NameDescriptionTypeAdditional information
name

string

None.

tell

string

None.

tellCheckCode

string

None.

proId

integer

None.

cityId

integer

None.

beforeDays

integer

None.

beforeTem

integer

None.

isAddToday

integer

None.

code

string

None.

userId

string

None.

wId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "tell": "sample string 2",
  "tellCheckCode": "sample string 3",
  "proId": 4,
  "cityId": 5,
  "beforeDays": 6,
  "beforeTem": 7,
  "isAddToday": 8,
  "code": "sample string 9",
  "userId": "sample string 10",
  "wId": 11
}

application/xml, text/xml

Sample:
<userDetailInfoQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pmddwApi.Models.Query">
  <code>sample string 9</code>
  <userId>sample string 10</userId>
  <wId>11</wId>
  <beforeDays>6</beforeDays>
  <beforeTem>7</beforeTem>
  <cityId>5</cityId>
  <isAddToday>8</isAddToday>
  <name>sample string 1</name>
  <proId>4</proId>
  <tell>sample string 2</tell>
  <tellCheckCode>sample string 3</tellCheckCode>
</userDetailInfoQuery>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

修改个人信息

commonResultOfupdateInfo
NameDescriptionTypeAdditional information
success

boolean

None.

code

integer

None.

singInfo

string

None.

userId

string

None.

unionid

string

None.

UID

integer

None.

counts

integer

None.

data

updateInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "code": 2,
  "singInfo": "sample string 3",
  "userId": "sample string 4",
  "unionid": "sample string 5",
  "UID": 6,
  "counts": 7,
  "data": {
    "isFirstChange": 1,
    "endDate": "2020-04-10T18:25:58.2839994+08:00"
  }
}

application/xml, text/xml

Sample:
<commonResultOfupdateInfozqlVNa7P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pmddwApi.Models.Result">
  <UID>6</UID>
  <code>2</code>
  <counts>7</counts>
  <data>
    <endDate>2020-04-10T18:25:58.2839994+08:00</endDate>
    <isFirstChange>1</isFirstChange>
  </data>
  <singInfo>sample string 3</singInfo>
  <success>true</success>
  <unionid>sample string 5</unionid>
  <userId>sample string 4</userId>
</commonResultOfupdateInfozqlVNa7P>