WIN-2308041133\Administrator 9 месяцев назад
Родитель
Сommit
c3695e389d
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      application/api/controller/Platform.php

+ 1 - 0
application/api/controller/Platform.php

@@ -53,6 +53,7 @@ class Platform extends Api
             ->limit($offset, $limit)
             ->select();
         $total = model('VideoShare')
+            ->with('users')
             ->where($map)
             ->count();
 //        var_dump(model('VideoShare')->getLastSql());die();