WIN-2308041133\Administrator 7 months ago
parent
commit
25ba470203
1 changed files with 4 additions and 4 deletions
  1. 4 4
      application/api/controller/Platform.php

+ 4 - 4
application/api/controller/Platform.php

@@ -218,12 +218,12 @@ class Platform extends Api
         list($where, $sort, $order, $offset, $limit) = $this->buildparams();
         list($where, $sort, $order, $offset, $limit) = $this->buildparams();
         $config = $this->config();
         $config = $this->config();
         $list = model('VideoContributionRecord')
         $list = model('VideoContributionRecord')
-            ->with('videolist,user')
+            ->with('videolist')
             ->where($map)
             ->where($map)
             ->limit($offset, $limit)
             ->limit($offset, $limit)
             ->select();
             ->select();
         $total = model('VideoContributionRecord')
         $total = model('VideoContributionRecord')
-            ->with('videolist,users')
+            ->with('videolist')
             ->where($map)
             ->where($map)
             ->count();
             ->count();
 //        var_dump(model('VideoShare')->getLastSql());die();
 //        var_dump(model('VideoShare')->getLastSql());die();
@@ -240,12 +240,12 @@ class Platform extends Api
         list($where, $sort, $order, $offset, $limit) = $this->buildparams();
         list($where, $sort, $order, $offset, $limit) = $this->buildparams();
         $config = $this->config();
         $config = $this->config();
         $list = model('VideoUser')
         $list = model('VideoUser')
-            ->with('videolist,user')
+            ->with('videolist')
             ->where($map)
             ->where($map)
             ->limit($offset, $limit)
             ->limit($offset, $limit)
             ->select();
             ->select();
         $total = model('VideoUser')
         $total = model('VideoUser')
-            ->with('videolist,users')
+            ->with('videolist')
             ->where($map)
             ->where($map)
             ->count();
             ->count();
 //        var_dump(model('VideoShare')->getLastSql());die();
 //        var_dump(model('VideoShare')->getLastSql());die();