WIN-2308041133\Administrator преди 11 месеца
родител
ревизия
25ba470203
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  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();