Commit b8035b27 authored by zhuwei's avatar zhuwei

分页修改

parent 5931196b
......@@ -427,13 +427,8 @@ class Member extends Basic
$data_arr[$k]['user_phone'] = hide_customer_phone($arr['user_phone']);
$data_arr[$k]['create_time'] = date('Y-m-d', strtotime($arr['create_time']));
}
$data['data']['list'] = $data_arr;
$data['status'] = 200;
$data['data']['total'] = $this->user->field('id,user_nick,user_phone,create_time')
->where('referrer_id',$id)
->where('status',0)
->order('create_time desc')
->count();
$data['data'] = $data_arr;
$data['status'] = 200;
} else {
$data['msg'] = 'id is null';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment