简要描述:
- 用户登录接口
请求域名:
- http://xx.com
请求URL:
POST/plugin.commission-activity.api.activity-inquire.join-people
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
activity_id | 是 | int | 活动ID |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"total": 3,
"per_page": 15,
"current_page": 1,
"last_page": 1,
"next_page_url": null,
"prev_page_url": null,
"from": 1,
"to": 3,
"data": [
{
"id": 1,
"uniacid": 3,
"activity_id": 1,
"member_id": 1,
"number": null,
"created_at": "2020-05-08 01:29:08",
"updated_at": null,
"deleted_at": null,
"status": null,
"status_name": "活动中",
"has_one_member": {
"uid": 1,
"nickname": "Joe",
"avatar": "http://wx.qlogo.cn/mmopen/q9dUzwx5OmD4y37koPPmU9TQY18uB4w4T75reS4pzFg566AeHWEPqmDiaiajUvyp0DYsejd6YbG2F6qNEulQFOgTxOqjwfrPkX/132",
"avatar_image": "https://wx.qlogo.cn/mmopen/q9dUzwx5OmD4y37koPPmU9TQY18uB4w4T75reS4pzFg566AeHWEPqmDiaiajUvyp0DYsejd6YbG2F6qNEulQFOgTxOqjwfrPkX/132",
"username": "Joe"
}
},
{
"id": 2,
"uniacid": 3,
"activity_id": 1,
"member_id": 18,
"number": null,
"created_at": "2020-05-08 01:29:08",
"updated_at": null,
"deleted_at": null,
"status": null,
"status_name": "活动中",
"has_one_member": {
"uid": 18,
"nickname": "李一天",
"avatar": "http://wx.qlogo.cn/mmopen/q9dUzwx5OmCVeRU5kjl4tavwEGbJCe78M9caGUUBHMIV8fwX8njVq3quhic3PgS02rwVREC7ympGYz9ZS8180Aq86gBkZefkK/132",
"avatar_image": "https://wx.qlogo.cn/mmopen/q9dUzwx5OmCVeRU5kjl4tavwEGbJCe78M9caGUUBHMIV8fwX8njVq3quhic3PgS02rwVREC7ympGYz9ZS8180Aq86gBkZefkK/132",
"username": "李一天"
}
},
{
"id": 3,
"uniacid": 3,
"activity_id": 1,
"member_id": 12,
"number": null,
"created_at": "2020-05-08 01:36:18",
"updated_at": null,
"deleted_at": null,
"status": null,
"status_name": "活动中",
"has_one_member": {
"uid": 12,
"nickname": "肥仔",
"avatar": "http://wx.qlogo.cn/mmopen/q9dUzwx5OmDGnkn8ZYBlkkcnqeUiaebgZrF1pznnjuohrZgr3d6uaDHvadKedqhVurmb2sEIB3MfhrsaRtImcLPPPmBNsmFF1/132",
"avatar_image": "https://wx.qlogo.cn/mmopen/q9dUzwx5OmDGnkn8ZYBlkkcnqeUiaebgZrF1pznnjuohrZgr3d6uaDHvadKedqhVurmb2sEIB3MfhrsaRtImcLPPPmBNsmFF1/132",
"username": "肥仔"
}
}
]
}
}
错误时返回:
{
"errcode": 500,
"errmsg": "invalid appid"
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
has_one_member[nickname] | string | 用户昵称 |
has_one_member[avatar] | string | 用户头像 |
has_one_reward[order_sn] | string | 订单编号 |
has_one_reward[dividend_amount] | string | 佣金金额 |
备注:
- 更多返回错误代码请看首页的错误代码描述