POST wechat/wxa_register
Request Information
URI Parameters
None.
Body Parameters
WechatRegisterViewModelName | Description | Type | Additional information |
---|---|---|---|
client_id | integer |
Required |
|
app_id | integer |
Required |
|
code | string |
Required |
|
login_from | string |
None. |
|
from | string |
None. |
|
share_user_id | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "client_id": 1, "app_id": 2, "code": "sample string 3", "login_from": "sample string 4", "from": "sample string 5", "share_user_id": 1 }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataResponseOfWechatAccountViewModelName | Description | Type | Additional information |
---|---|---|---|
code | integer |
None. |
|
message | string |
None. |
|
success | boolean |
None. |
|
data | WechatAccountViewModel |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": 1, "message": "sample string 2", "success": true, "data": { "open_id": "sample string 1", "user_id": 2, "access_token": "sample string 3", "registered": true } }