简要描述:

  • 门店商家(直播列表)
  • 门店店铺(直播列表)

请求URL: plugin.store-cashier.frontend.store.get-store-info.get-room 请求方式:

  • POST

参数:

参数名 必选 类型 说明
page int 分页
store_id int 门店id

返回示例

{
 "result": 1,
 "msg": "成功",
 "data": {
   "total": 3,
   "per_page": 10,
   "current_page": 1,
   "last_page": 1,
   "next_page_url": null,
   "prev_page_url": null,
   "from": 1,
   "to": 3,
   "data": [
     {
       "avatar": "http://cc.com/addons/yun_shop/static/images/photo-mr.jpg",
       "nickname": "13148513754",
       "id": 2,
       "status": 3,
       "title": "测试直播间2",
       "cover": "https://cc.com/attachment/images/1/2020/02/J7of41zn4P74oPRd373XR4544fn5Pr.jpg",
       "banner": "https://cc.com/attachment/images/1/2020/02/J7of41zn4P74oPRd373XR4544fn5Pr.jpg",
       "live_time": 1585553925,
       "view_num": 6,
       "play_type": 1,
       "goods_num": 7
     },
     {
       "avatar": "http://cc.com/addons/yun_shop/static/images/photo-mr.jpg",
       "nickname": "13148513754",
       "id": 3,
       "status": 2,
       "title": "测试直播间3",
       "cover": "https://cc.com/attachment/images/1/2020/02/J7of41zn4P74oPRd373XR4544fn5Pr.jpg",
       "banner": "https://cc.com/attachment/images/1/2020/02/J7of41zn4P74oPRd373XR4544fn5Pr.jpg",
       "live_time": 1585554890,
       "view_num": 5,
       "play_type": 1,
       "goods_num": 7
     },
     {
       "avatar": "http://cc.com/addons/yun_shop/static/images/photo-mr.jpg",
       "nickname": "13148513754",
       "id": 1,
       "status": 4,
       "title": "测试直播间1",
       "cover": "https://cc.com/attachment/images/1/2020/02/J7of41zn4P74oPRd373XR4544fn5Pr.jpg",
       "banner": "https://cc.com/attachment/images/1/2020/02/J7of41zn4P74oPRd373XR4544fn5Pr.jpg",
       "live_time": 1585553847,
       "view_num": 7,
       "play_type": 2,
       "goods_num": 7,
       "back_id": 3
     }
   ]
 }
} 

` 返回参数说明

参数名 类型 说明
id int 直播间id
title string 直播间标题
cover string 直播间封面
banner string 直播间横幅
live_time string 直播时间
nickname string 昵称
avatar string 头像
view_num string 观看数
goods_num string 商品数
play_type int 1直播中,2是回放,3预告
back_id int 回放id

备注

根据门店商家(店铺)接口返回的数据决定请不请求该接口 当is_room=1时请求。 is_room=0时不请求

欢迎使用ShowDoc!