简要描述:
- 获取圈子当前用户发布的视频或帖子
请求URL:
plugin.circle.frontend.circle-invitation.get-my-invitation-list
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
invitation_status | 是 | int | 1帖子,2视频 |
member_id | 否 | int | 会员id(查看他人发布帖子视频时需要传) |
返回示例:
正确时返回:
{
"result": 1,
"msg": "获取成功",
"data": {
"total": 2,
"per_page": 15,
"current_page": 1,
"last_page": 1,
"next_page_url": null,
"prev_page_url": null,
"from": 1,
"to": 2,
"data": [
{
"id": 4,
"uniacid": 1,
"member_id": 163781,
"circle_id": 13,
"is_review": 1,
"is_top": 0,
"is_recommend": 1,
"browse_count": 0,
"title": "标题",
"content": "内容",
"is_show": 0,
"store": 12,
"goods_id": 13,
"img": "1.png",
"status": 2,
"created_at": "2021-02-20 09:17:37",
"updated_at": "2021-02-20 09:17:37",
"deleted_at": null,
"nickname": "测试232",
"circle_name": "测试圈子",
"link_count": 0,
"comment_count": 0
},
{
"id": 5,
"uniacid": 1,
"member_id": 163781,
"circle_id": 13,
"is_review": 1,
"is_top": 0,
"is_recommend": 1,
"browse_count": 4,
"title": "标题",
"content": "内容",
"is_show": 0,
"store": 12,
"goods_id": 13,
"img": "1.png",
"status": 2,
"created_at": "2021-02-20 09:17:38",
"updated_at": "2021-02-20 14:38:37",
"deleted_at": null,
"nickname": "测试232",
"circle_name": "测试圈子",
"link_count": 1,
"comment_count": 4
}
]
}
}
错误时返回:
{
"result": 0,
"msg": "error",
"data": []
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
list[data][member_id] | number | 发布会员id |
list[data][circle_id] | number | 圈子id |
list[data][is_review] | number | 审核状态:0待审核,1审核通过,2审核驳回 |
list[data][is_top] | number | 是否置顶:1推荐,0正常 |
list[data][is_recommend] | number | 是否推荐:1推荐,0正常 |
list[data][browse_count] | number | 帖子浏览量 |
list[data][title] | string | 标题 |
list[data][content] | string | 内容 |
list[data][is_show] | string | 未加入可见:0不可见,1可见 |
list[data][store] | string | 关联门店id |
list[data][goods_id] | string | 关联商品id |
list[data][img] | string | 图片 |
list[data][status] | string | 1.帖子,2.视频 |
list[data][nickname] | string | 发布会员昵称 |
list[data][circle_name] | string | 圈子名称 |
list[data][link_count] | string | 点赞数量 |
list[data][comment_count] | string | 评论数量 |
备注:
- 更多返回错误代码请看首页的错误代码描述