|
|
@@ -19,9 +19,8 @@ class Crecord extends Backend
|
|
|
public function _initialize()
|
|
|
{
|
|
|
parent::_initialize();
|
|
|
-// $this->model = new \app\admin\model\third\Platform;
|
|
|
$this->model = new \app\common\model\VideoContributionRecord();
|
|
|
-// $this->model = model('platform');
|
|
|
+
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -50,7 +49,7 @@ class Crecord extends Backend
|
|
|
->count();
|
|
|
$list = $this->model
|
|
|
->where($where)
|
|
|
- ->with('platform,videolist')
|
|
|
+ ->with('user,videolist')
|
|
|
->order($sort, $order)
|
|
|
->limit($offset, $limit)
|
|
|
->select();
|