获取一个直播间数据

简要描述
  • 获取一个直播间数据
请求URL
  • http://localhost:32223/api/WxLive/RoomInfo?roomId=34
请求方式
  • POST
参数
参数名 必选 类型 说明
roomId int 直播间id
返回示例
 {
    "success": true,
    "msg": "",
    "code": 200,
    "data": {
        "ID": 34,
        "Name": "测试直播房间12",
        "CoverImg": "b5bWj221J9BMDWAEck8WFSULuvAp2wD-NVXVuHuXUR0fFBHtdd0Vp6e_32HyXYm3",
        "StartTime": 1636110663,
        "EndTime": 1636189565,
        "AnchorName": "ygces",
        "AnchorWechat": "wslyy3399",
        "SubAnchorWechat": "wxid_p6rluxm46bxo22",
        "CreaterWechat": "wslyy3399",
        "ShareImg": "b5bWj221J9BMDWAEck8WFSULuvAp2wD-NVXVuHuXUR0fFBHtdd0Vp6e_32HyXYm3",
        "FeedsImg": "b5bWj221J9BMDWAEck8WFSULuvAp2wD-NVXVuHuXUR0fFBHtdd0Vp6e_32HyXYm3",
        "IsFeedsPublic": 1,
        "Type": 0,
        "CloseLike": 0,
        "CloseGoods": 0,
        "CloseComment": 0,
        "CloseReplay": 0,
        "CloseShare": 0,
        "CloseKf": 1,
        "ReturnResult": "{\"roomId\":34,\"errcode\":0}",
        "CreateDate": "2021-11-05T19:13:54",
        "UpdateDate": "2021-11-05T19:13:54",
        "IsDelete": 0,
        "ModifiedColumns": [],
        "EnableLazyLoad": true,
        "IgnoreReference": false
    },
    "total": 0
}
返回参数说明
参数名 类型 说明
groupid int 用户组id,1:超级管理员;2:普通用户
备注
  • 更多返回错误代码请看首页的错误代码描述