WIN-2308041133\Administrator 8 months ago
parent
commit
c3695e389d
1 changed files with 1 additions and 0 deletions
  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();