|
@@ -7,7 +7,7 @@ use think\Db;
|
|
|
use Redis;
|
|
|
class Tvindex extends Api
|
|
|
{
|
|
|
- protected $noNeedLogin = ['indexdata','video_list','videoinfo','zhuanti','tudingc','search','history','app_error'];
|
|
|
+ protected $noNeedLogin = ['indexdata','video_list','videoinfo','videoinfo_simple','zhuanti','tudingc','search','history','app_error'];
|
|
|
protected $noNeedRight = '*';
|
|
|
|
|
|
//首页
|
|
@@ -176,7 +176,7 @@ class Tvindex extends Api
|
|
|
$this->error('您的网络开小差了');
|
|
|
}
|
|
|
|
|
|
- $info = Db::name('video')->field('id,video_type_id, title, image, desc, is_pay, status, inject_status, seriesid, programid, movieid')
|
|
|
+ $info = Db::name('video')->field('id,video_type_id,childcate_id, title, image, desc, is_pay, status, inject_status, seriesid, programid, movieid')
|
|
|
->where(['id' => $id])->find();
|
|
|
if (!$info) {
|
|
|
$this->error('数据不存在');
|