|
|
@@ -84,12 +84,12 @@ class Platform extends Api
|
|
|
list( $offset, $limit) = $this->buildparams();
|
|
|
$config = $this->config();
|
|
|
$list = model('VideoPlatformRecord')
|
|
|
- ->with('platform,video')
|
|
|
+ ->with('platform,videolist')
|
|
|
->where($map)
|
|
|
->limit($offset, $limit)
|
|
|
->select();
|
|
|
$total = model('VideoPlatformRecord')
|
|
|
- ->with('platform,video')
|
|
|
+ ->with('platform,videolist')
|
|
|
->where($map)
|
|
|
->count();
|
|
|
$data = ['config' => $config, 'doctor' => $list,'total'=>$total];
|