544782275@qq.com 3 年之前
父节点
当前提交
6e671267a3
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      application/api/controller/Team.php

+ 1 - 2
application/api/controller/Team.php

@@ -46,9 +46,8 @@ class Team extends Base
      */
     public function team_list(){
         $page = input('page',1);
-        $pageSize = input('page_size',200);
         $field = 'id,name,headimg,integral';
-        $team_list = Db::name('store_team')->field($field)->where('user_id','<>',13)->where('is_deleted',0)->where('status',1)->order('integral desc')->page($page,$pageSize)->select();
+        $team_list = Db::name('store_team')->field($field)->where('user_id','<>',13)->where('is_deleted',0)->where('status',1)->order('integral desc')->page($page,200)->select();
         if($team_list){
             foreach ($team_list as &$value){
                 //统计团队人数