维护用户销售统计——翻页
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* @Author: kangkang
|
||||
* @Date: 2020-10-13 19:52:37
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @LastEditTime: 2020-11-25 09:51:47
|
||||
* @LastEditTime: 2020-11-25 10:28:10
|
||||
*/
|
||||
|
||||
namespace app\manager\controller;
|
||||
@@ -43,6 +43,7 @@ class UserFollow extends Controller
|
||||
$time_where_now = '';
|
||||
$user_search_id = [];
|
||||
$user_search_id_list = [];
|
||||
$limit = '50';
|
||||
|
||||
//判断是否是筛选
|
||||
$is_screen = false;
|
||||
@@ -150,7 +151,11 @@ class UserFollow extends Controller
|
||||
}
|
||||
$where['Id'] = ['in', $user_search_id_list];
|
||||
}
|
||||
$user_list = $user_model->getListPage($where, 'Id,follow_status,LoginCode,CreateTime,Wx,QQ', 'id desc', "50");
|
||||
if(empty($user_search_id_list)){
|
||||
$limit = "$page,50";
|
||||
}
|
||||
|
||||
$user_list = $user_model->getListPage($where, 'Id,follow_status,LoginCode,CreateTime,Wx,QQ', 'id desc', $limit);
|
||||
$list = [];
|
||||
$user_id_list = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user