| | |
| | | )))); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取已结束直播列表") |
| | | @GetMapping(value = "listvideo") |
| | | public Result listvideo() { |
| | | |
| | | List<MediaVideoLive> data = liveService.listvideo("9"); |
| | | |
| | | return new Result(true, "success", CollectionUtils.newObjectMap("listVideo",data)); |
| | | } |
| | | /** |
| | | * 新增直播/更新直播 |
| | | * |
| | |
| | | MTCloud client = new MTCloud(); |
| | | HashMap<Object,Object> options = new HashMap<Object, Object>(); |
| | | options.put("ssl", false); |
| | | String res = client.courseVisitorList("3360573",10,1,options); |
| | | String res = client.courseVisitorList(courseId,page,size,options); |
| | | return new Result(true,"开启成功",res); |
| | | } |
| | | |
| | | // @ApiOperation(value = "查看详情") |
| | | // @GetMapping(value = "detailLive") |
| | | // public Result detailLive(String liveId) { |
| | | // commonDAO.find |
| | | // return new Result(true,"开启成功",res); |
| | | // } |
| | | /** |
| | | * 查询直播详情 |
| | | * |