You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
549 B
21 lines
549 B
<?php
|
|
namespace app\home\controller;
|
|
|
|
use app\home\service\VideoService;
|
|
use think\response\Json;
|
|
|
|
class Video extends HomeBaseController
|
|
{
|
|
public function videoOnDemandList(): Json
|
|
{
|
|
$returnData = (new VideoService())->getVideoOnDemandList($this->request->post());
|
|
return json($returnData);
|
|
}
|
|
|
|
// 获取某个点播配置详情
|
|
public function videoOnDemandDetail(): Json
|
|
{
|
|
$returnData = (new VideoService())->getVideoOnDemandDetail($this->request->post());
|
|
return json($returnData);
|
|
}
|
|
}
|
|
|