请求域名:
- http://xx.com
请求URL:
xx.com/business/{公众号id}/plugin/Crowdfunding/activityChannelIndex
请求类型
GET
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
activity_title | 否 | string | 活动名称 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"uniacid": 25,
"member_id": 163949,
"activity_id": 1,
"work_wechat_platform_crop_id": 13,
"created_at": "2022-08-01 09:59:05",
"updated_at": "2022-08-01 09:59:05",
"preparation_amount": 0,
"channel_activity_member": 2,
"channel_activity_member_support": 0,
"member": {
"uid": 163949,
"mobile": "18026357601",
"realname": "fo",
"nickname": "Joy",
"avatar": "https://thirdwx.qlogo.cn/mmopen/vi_32/PkO04eGtBtvu5Gz2GOARP8Oviah7Los108ibllNmaY4yYUricuEOyhqkymBFm11pR6SvcHhRZyWMJeseCusgAKmtg/132",
"avatar_image": "https://thirdwx.qlogo.cn/mmopen/vi_32/PkO04eGtBtvu5Gz2GOARP8Oviah7Los108ibllNmaY4yYUricuEOyhqkymBFm11pR6SvcHhRZyWMJeseCusgAKmtg/132",
"username": "Joy"
},
"belongs_to_activity": {
"id": 1,
"uniacid": 25,
"title": "众筹活动一",
"image": "newimage/55ef20f892906f020622bf5ad78836fb.png",
"video": "videos/0/2021/01/223a7ea4d5d3d40bca0f17746e49fe36.mp4",
"amount": "200.00",
"start_at": 1659283200,
"end_at": 1659369600,
"status": 1,
"diy_form_id": 4,
"new_poster_id": 0,
"illustrate": "众筹说明\n众筹说明\n",
"rich_text": "<p><span style=\"color: #666666; font-family: arial, 'Hiragino Sans GB', 'Microsoft Yahei', 微软雅黑, 宋体, 宋体, Tahoma, Arial, Helvetica, STHeiti; font-size: 14px; text-align: right; background-color: #ffffff; float: none; display: inline;\">活动详情</span><span style=\"color: #666666; font-family: arial, 'Hiragino Sans GB', 'Microsoft Yahei', 微软雅黑, 宋体, 宋体, Tahoma, Arial, Helvetica, STHeiti; font-size: 14px; text-align: right; background-color: #ffffff; float: none; display: inline;\">活动详情</span></p>",
"initiator_comment": [
{
"comment": "发起者宣言一"
},
{
"comment": "发起者宣言二"
}
],
"supporter_comment": [
{
"comment": "支持者宣言一"
},
{
"comment": "支持者宣言二"
},
{
"comment": "支持者宣言三"
}
],
"join_count": 4,
"support_count": 2,
"total_amount": "30.00",
"deleted": 0,
"created_at": "2022-08-01 09:38:29",
"updated_at": "2022-08-01 10:36:03",
"status_text": "进行中",
"image_url": "http://shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com/newimage/55ef20f892906f020622bf5ad78836fb.png",
"video_url": "https://dev15.yunzmall.com/static/upload/videos/0/2021/01/223a7ea4d5d3d40bca0f17746e49fe36.mp4",
"start_at_text": "2022-08-01 00:00:00",
"end_at_text": "2022-08-02 00:00:00"
},
"has_many_activity_member": [
{
"id": 3,
"uniacid": 25,
"member_id": 163948,
"type": 0,
"distributor_id": 163949,
"diy_form_id": 4,
"activity_id": 1,
"preparation_amount": "0.00",
"support_count": 0,
"views": 1,
"status": 0,
"crowdfunding_type": 2,
"initiator_comment": "发起者宣言一",
"created_at": "2022-08-01 10:33:49",
"updated_at": "2022-08-01 10:33:49",
"subordinates": 58,
"status_text": "进行中"
},
{
"id": 4,
"uniacid": 25,
"member_id": 163959,
"type": 0,
"distributor_id": 163949,
"diy_form_id": 4,
"activity_id": 1,
"preparation_amount": "0.00",
"support_count": 0,
"views": 1,
"status": 0,
"crowdfunding_type": 2,
"initiator_comment": "发起者宣言一",
"created_at": "2022-08-01 10:36:03",
"updated_at": "2022-08-01 10:36:03",
"subordinates": 1,
"status_text": "进行中"
}
]
}
],
"first_page_url": "https://dev15.yunzmall.com/business/25/plugin/Crowdfunding/activityChannelIndex?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "https://dev15.yunzmall.com/business/25/plugin/Crowdfunding/activityChannelIndex?page=1",
"next_page_url": null,
"path": "https://dev15.yunzmall.com/business/25/plugin/Crowdfunding/activityChannelIndex",
"per_page": 15,
"prev_page_url": null,
"to": 1,
"total": 1
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
data[].id | int | 渠道id |
data[].uniacid | int | 公众号ID |
data[].member_id | int | 渠道会员id |
data[].activity_id | int | 活动id |
data[].channel_activity_member | int | 报名人数 |
data[].channel_activity_member_support | int | 活动支持人数 |
data[].work_wechat_platform_crop_id | int | 企业id |
data[].created_at | int | 开始时间 |
data[].preparation_amount | int | 已筹金额 |
data[].member[].uid | int | 渠道会员id |
data[].member[].mobile | string | 渠道会员手机 |
data[].member[].realname | string | 渠道会员姓名 |
data[].member[].nickname | string | 渠道会员昵称 |
data[].member[].avatar_image | string | 渠道会员头像地址 |
data[].member[].username | string | 渠道会员用户名 |
data[].belongs_to_activity[].id | string | 活动id |
data[].belongs_to_activity[].deleted | string | 活动是否被删除 0 未删除, 1已删除 |
data[].belongs_to_activity[].title | string | 活动标题 |
data[].belongs_to_activity[].join_count | int | 报名人数 |
data[].belongs_to_activity[].support_count | int | 支持人数 |