Properties

$liveModel

$liveModel : \App\Models\Live

Type

\App\Models\Live

$attachmentService

$attachmentService : \Core\Services\AttachmentService

Type

\Core\Services\AttachmentService

$lecturerService

$lecturerService : \Core\Services\LecturerService

Type

\Core\Services\LecturerService

$container

$container : \Psr\Container\ContainerInterface

Type

\Psr\Container\ContainerInterface

$businessContainerKey

$businessContainerKey : 

Created by PhpStorm.

可以实现自动注入的业务容器 User:YM Date:2020/1/12 Time:上午8:18

Type

Methods

__get()

__get(  $key) : \Psr\Container\ContainerInterface|void

__get 隐式注入服务类 User:YM Date:2019/11/21 Time:上午9:27

Parameters

$key

Returns

\Psr\Container\ContainerInterface|void

getBusinessContainerInstance()

getBusinessContainerInstance(  $key) : mixed

getBusinessContainerInstance 获取业务容器实例 User:YM Date:2020/1/12 Time:上午8:15

Parameters

$key

Returns

mixed

getModelInstance()

getModelInstance(  $key) : mixed

getModelInstance 获取数据模型类实例 User:YM Date:2019/11/21 Time:上午10:30

Parameters

$key

Returns

mixed

getServiceInstance()

getServiceInstance(  $key) : mixed

getServiceInstance 获取服务类实例 User:YM Date:2019/11/21 Time:上午10:30

Parameters

$key

Returns

mixed

getTreeLiveList()

getTreeLiveList(  $courseId) : mixed

getTreeLiveList 获取直播节树list User:YM Date:2020/2/14 Time:下午11:46

Parameters

$courseId

Returns

mixed

getPagesInfo()

getPagesInfo(array  $where = array()) : array

getPagesInfo 获取分页信息 User:YM Date:2020/2/14 Time:下午11:46

Parameters

array $where

Returns

array

getList()

getList(array  $where = array(), array  $order = array(), integer  $offset, integer  $limit) : mixed

getList 获取直播list User:YM Date:2020/2/14 Time:下午11:46

Parameters

array $where

查询条件

array $order

排序条件

integer $offset

偏移

integer $limit

条数

Returns

mixed

getLiveCount()

getLiveCount(array  $where = array()) : integer

getLiveCount 获取直播条数 User:YM Date:2020/2/14 Time:下午11:47

Parameters

array $where

Returns

integer

saveLive()

saveLive(  $inputData) : null

saveLive 保存直播 User:YM Date:2020/2/14 Time:下午11:47

Parameters

$inputData

Returns

null

getInfo()

getInfo(  $id) : \App\Models\BaseModel|\Hyperf\Database\Model\Model|null

getInfo 根据id获取信息 User:YM Date:2020/2/14 Time:下午11:48

Parameters

$id

Returns

\App\Models\BaseModel|\Hyperf\Database\Model\Model|null

deleteInfo()

deleteInfo(  $id) : integer

deleteInfo 根据id删除信息 User:YM Date:2020/2/14 Time:下午11:50

Parameters

$id

Returns

integer

getLiveStreamInfo()

getLiveStreamInfo(  $id) : array

getLiveStreamInfo 获取直播流信息 User:YM Date:2020/2/14 Time:下午11:50

Parameters

$id

Returns

array

getPushPlayStreamInfo()

getPushPlayStreamInfo(  $uid) : array

getPushPlayStreamInfo 获取推流播放信息 User:YM Date:2020/2/14 Time:下午11:50

Parameters

$uid

Returns

array