Пример #1
0
 /**
  * 查询群组直播课
  *
  * @param groupId
  * @param pageable
  * @return
  * @throws XueWenServiceException
  */
 public Page<Live> findByGroupId(String groupId, Pageable pageable) throws XueWenServiceException {
   return liveTemplate.findByGroupId(pageable, groupId);
 }
Пример #2
0
 /**
  * 根据url判断直播是否存在
  *
  * @param url
  * @return
  * @throws XueWenServiceException
  */
 public boolean exiseByUrl(String url) throws XueWenServiceException {
   return liveTemplate.exiseByUrl(url);
 }