简要描述:
- 报名活动详情页
请求URL:
GET/route=plugin.crowdfunding.frontend.activity-member.show
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
activity_member_id | 是 | int | 报名活动ID |
返回示例:
正确时返回:
{
"id": 1,
"uniacid": 1,
"member_id": 1,
"distributor_id": 7,
"activity_id": 4,
"preparation_amount": "3000.00",
"initiator_comment ": "发起者宣言"
"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,
"current_activity_member": {
"uid": 1,
"mobile": "12345678901",
"nickname": "12345678901",
"realname": "\u5434\u4eae",
"avatar": "/static/images/photo-mr.jpg",
"avatar_image": "http://localhost:8788/static/images/photo-mr.jpg",
"username": "12345678901"
},
"has_many_order": [
{
"id": 1,
"uniacid": 1,
"order_sn": "CG12345678901",
"amount": "2.00",
"pay_member_id": 1,
"activity_member_id": 1,
"pay_type_id": 3,
"pay_type": 1,
"status": 1,
"pay_time": "2022-07-29 00:00:00",
"created_at": "2022-07-29 00:00:00",
"updated_at": "2022-07-29 00:00:00",
"status_text": "\u5df2\u4ed8\u6b3e",
"pay_type_name": "\u4f59\u989d",
"support_comment": "支持者宣言"
"pay_type_text": "\u81ea\u4ed8\u8ba2\u5355",
"has_pay_member": {
"uid": 1,
"mobile": "12345678901",
"nickname": "12345678901",
"realname": "\u5434\u4eae",
"avatar": "/static/images/photo-mr.jpg",
"avatar_image": "http://localhost:8788/static/images/photo-mr.jpg",
"username": "12345678901"
}
}
],
"joined_member": [
{
"uid": 1,
"mobile": "12345678901",
"nickname": "12345678901",
"realname": "\u5434\u4eae",
"avatar": "/static/images/photo-mr.jpg",
"avatar_image": "http://localhost:8788/static/images/photo-mr.jpg",
"username": "12345678901"
}
],
"subordinates": 3,
"status_text": "\u8fdb\u884c\u4e2d",
"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"
}
}
参数名 | 类型 | 说明 |
---|---|---|
id | int | 活动id |
member_id | int | 报名活动会员id |
distributor_id | int | 渠道会员id |
activity_id | int | 活动id |
preparation_amount | string | 已筹金额 |
support_count | int | 支持人数 |
views | int | 访问量 |
status | int | 进行中0 , 报名成功1, 报名失败2 |
status_text | int | 活动状态说明 |
created_at | string | 创建时间 |
diy_form_id | int | 自定义表单id |
crowdfunding_type | int | 1 自付活动, 2众筹活动 |
subordinates | int | 下级人数 |
initiator_comment | string | 发起者宣言 |
current_activity_member.uid | int | 报名活动会员id |
current_activity_member.nickname | string | 报名活动会员昵称 |
joined_member[].uid | string | 支持会员ID |
joined_member[].mobile | string | 支持会员手机号 |
joined_member[].nickname | string | 支持会员昵称 |
joined_member[].avatar_image | string | 支持会员头像地址 |
has_many_order[].amount | int | 支持者订单金额 |
has_many_order[].support_comment | string | 支持者宣言 |
has_many_order[].has_pay_member.nickname | int | 支持者订单会员昵称 |
belongs_to_activity[].id | int | 活动id |
belongs_to_activity[].title | title | 活动名称 |
belongs_to_activity[].amount | int | 活动众筹金额 |
belongs_to_activity[].video_url | int | 活动视频链接 |