|
@@ -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){
|
|
|
//统计团队人数
|