|
@@ -5,14 +5,14 @@ use app\common\controller\Backend;
|
|
|
use app\common\model\Videolist;
|
|
use app\common\model\Videolist;
|
|
|
use app\common\model\Platform;
|
|
use app\common\model\Platform;
|
|
|
|
|
|
|
|
-class Income extends Backend
|
|
|
|
|
|
|
+class Videoplatform extends Backend
|
|
|
{
|
|
{
|
|
|
protected $model = null;
|
|
protected $model = null;
|
|
|
|
|
|
|
|
public function _initialize()
|
|
public function _initialize()
|
|
|
{
|
|
{
|
|
|
parent::_initialize();
|
|
parent::_initialize();
|
|
|
- $this->model = new \app\common\model\Income;
|
|
|
|
|
|
|
+ $this->model = new \app\common\model\videoPlatform;
|
|
|
// 获取短剧和平台数据(用于下拉框)
|
|
// 获取短剧和平台数据(用于下拉框)
|
|
|
// $videolist = Videolist::column('id,name');
|
|
// $videolist = Videolist::column('id,name');
|
|
|
// $platforms = Platform::column('id,name');
|
|
// $platforms = Platform::column('id,name');
|
|
@@ -21,7 +21,7 @@ class Income extends Backend
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 列表页
|
|
// 列表页
|
|
|
-// application/admin/controller/platform/Income.php
|
|
|
|
|
|
|
+// application/admin/controller/platform/Videoplatform.php
|
|
|
public function index()
|
|
public function index()
|
|
|
{
|
|
{
|
|
|
$this->request->filter(['strip_tags']);
|
|
$this->request->filter(['strip_tags']);
|