获取直播间详情

请求

  • Method: POST或GET
  • URL: https://dev3.yunzmall.com/addons/yun_shop/api.php?i=15&uuid=0&type=5&mid=18243&version=v1.1.138&validate_page=1&route=plugin.appletslive.frontend.controllers.live.get-detail
  • Headers:
  • Body:
{
  roomid:25
}
名称 类型 必填 备注
roomid int | string 小程序直播间roomid

Response

  • Body
{
	"result": 1,
    "msg": "ok",
    "data": {
        "id": 3,
        "uniacid": 15,
        "r_id": 18,直播间表id
        "p_id": 0,海报id
        "anchor_content": "aadasda",主播简介
        "content": "<p>999999</p>",直播间介绍
        "created_at": "2023-02-20 14:18:16",
        "updated_at": "2023-02-20 14:18:16",
        "deleted_at": null,
        "has_one_room": {
            "id": 18,直播间表id
            "name": "阿水卖货",直播间名称
			"anchor_name": "测试",主播名字
            "start_time": "2020-05-12 04:00:00", 开始时间
            "end_time": "2020-05-12 05:00:00",结束时间
            "cover_img":封面       "http://mmbiz.qpic.cn/mmbiz_jpg/130W5xdRdAJicJ6K3yy4c6BCckd3u9FvkWWwSWCQDJ6ZFre7Lm86kHLonRVnvqI8YyoC5OM9jSO3NeOUPr6vS0w/0",
            "roomid": 25,小程序直播间roomid
            "live_status": 102,直播间状态。101:直播中,102:未开始,103已结束,104禁播,105:暂停,106:异常,107:已过期
            "close_replay": 1,是否关闭回放 【0:开启,1:关闭】默认关闭回放(直播开始后允许开启)
            "live_status_name": "未开始",直播间状态名称
        	"share_img":头像           "http://mmbiz.qpic.cn/mmbiz_jpg/130W5xdRdAJicJ6K3yy4c6BCckd3u9FvkWWwSWCQDJ6ZFre7Lm86kHLonRVnvqI8YyoC5OM9jSO3NeOUPr6vS0w/0"
        }
    }
}