POST wechat/save_user_info
Request Information
URI Parameters
None.
Body Parameters
WechatUserAddViewModelName | Description | Type | Additional information |
---|---|---|---|
encrypted_data | string |
None. |
|
iv | string |
None. |
|
app_id | integer |
None. |
|
open_id | string |
None. |
|
app_key | string |
None. |
|
avatar_url | string |
None. |
|
head_img_path | string |
None. |
|
country | string |
None. |
|
province | string |
None. |
|
city | string |
None. |
|
language | string |
None. |
|
nick_name | string |
None. |
|
gender | integer |
None. |
|
subscribe | boolean |
None. |
|
oss | boolean |
None. |
|
client_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "encrypted_data": "sample string 1", "iv": "sample string 2", "app_id": 3, "open_id": "sample string 4", "app_key": "sample string 5", "avatar_url": "sample string 6", "head_img_path": "sample string 7", "country": "sample string 8", "province": "sample string 9", "city": "sample string 10", "language": "sample string 11", "nick_name": "sample string 12", "gender": 13, "subscribe": true, "oss": true, "client_id": 16 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataResponseOfWechatAppViewModelName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
message | string |
None. |
|
success | boolean |
None. |
|
data | WechatAppViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "message": "sample string 2", "success": true, "data": { "user_id": 1, "app_id": 2, "open_id": "sample string 3", "union_id": "sample string 4", "avatar_url": "sample string 5", "oss_avatar_url": "sample string 6", "country": "sample string 7", "province": "sample string 8", "city": "sample string 9", "language": "sample string 10", "nick_name": "sample string 11", "gender": 12 } }