POST user/update_user_info

更新用户资料

Request Information

URI Parameters

None.

Body Parameters

UpdateUserInfoViewModel
NameDescriptionTypeAdditional information
profile_photo

string

Required

school_name

string

Required

tall

integer

Required

region_id

integer

Required

contact_address

string

Required

qualification_id

integer

Required

major

string

None.

Request Formats

application/json, text/json

Sample:
{
  "profile_photo": "sample string 1",
  "school_name": "sample string 2",
  "tall": 3,
  "region_id": 4,
  "contact_address": "sample string 5",
  "qualification_id": 6,
  "major": "sample string 7"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

更新用户资料

DataResponseOfUserDetailViewModel
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

success

boolean

None.

data

UserDetailViewModel

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.