简要描述:

  • 众筹的活动

请求URL:

GET/route=plugin.crowdfunding.frontend.activity-member.crowdfunding

参数:

参数名 是否必须 类型 说明
status int 活动状态

返回示例:

正确时返回:

{
    "current_page": 1,
    "data": [
      {
        "id": 1,
        "uniacid": 1,
        "member_id": 1,
        "distributor_id": 7,
        "activity_id": 4,
        "preparation_amount": "3000.00",
        "support_count": 1,
        "views": 100,
        "status": 0,
        "created_at": "2022-07-29 00:00:00",
        "updated_at": "2022-07-29 00:00:00",
        "diy_form_id": 4,
        "crowdfunding_type": 1,
        "subordinates": 3,
        "status_text": "\u8fdb\u884c\u4e2d",
        "member": {
          "uid": 1,
          "mobile": "12345678901",
          "realname": "\u5434\u4eae",
          "nickname": "12345678901",
          "avatar": "/static/images/photo-mr.jpg",
          "avatar_image": "http://localhost:8788/static/images/photo-mr.jpg",
          "username": "12345678901"
        },
        "belongs_to_activity": {
          "id": 4,
          "uniacid": 1,
          "title": "\u6d3b\u52a81",
          "image": "images/1/2021/12/925aa752bdba13095368439a044a932b.png",
          "video": "videos/1/2022/07/e6eb2d992e4eaf5764f11dcf60616c9e.mp4",
          "amount": "123.00",
          "start_at": 1656604800,
          "end_at": 1660579200,
          "diy_form_id": 4,
          "new_poster_id": 2,
          "illustrate": "123123",
          "rich_text": "<p>123123</p>",
          "initiator_comment": [{ "comment": "1" }, { "comment": "2" }],
          "supporter_comment": [{ "comment": "3" }, { "comment": "4" }],
          "join_count": 0,
          "support_count": 1,
          "total_amount": "0.00",
          "created_at": "2022-07-15 14:49:52",
          "updated_at": "2022-07-18 15:55:45",
          "status": 1,
          "deleted": 0,
          "status_text": "\u8fdb\u884c\u4e2d",
          "image_url": "http://localhost:8788/static/upload/images/1/2021/12/925aa752bdba13095368439a044a932b.png",
          "video_url": "http://localhost:8788/static/upload/videos/1/2022/07/e6eb2d992e4eaf5764f11dcf60616c9e.mp4",
          "start_at_text": "2022-07-01 00:00:00",
          "end_at_text": "2022-08-16 00:00:00"
        }
      }
    ],
    "first_page_url": "http://localhost:8788/addons/yun_shop/api.php?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "http://localhost:8788/addons/yun_shop/api.php?page=1",
    "next_page_url": null,
    "path": "http://localhost:8788/addons/yun_shop/api.php",
    "per_page": 15,
    "prev_page_url": null,
    "to": 1,
    "total": 1
}

参数名 类型 说明
id int 活动id
created_at string 报名时间
status int 进行中0 , 报名成功1, 报名失败2
status_text string 报名活动状态
preparation_amount string 已筹金额
support_count int 支持人数
belongs_to_activity.title string 活动标题
belongs_to_activity.end_at_text string 活动结束时间