正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -30,7 +30,7 @@ class AdminUsersController extends AdminBaseController{ | @@ -30,7 +30,7 @@ class AdminUsersController extends AdminBaseController{ | ||
30 | $param=$this->request->param(); | 30 | $param=$this->request->param(); |
31 | $where=[]; | 31 | $where=[]; |
32 | if (!empty($param['keyword'])){ | 32 | if (!empty($param['keyword'])){ |
33 | - $where['mobile']=['like','%'.$param['keyword'].'%']; | 33 | + $where['phone']=['like','%'.$param['keyword'].'%']; |
34 | } | 34 | } |
35 | $users=new UsersModel(); | 35 | $users=new UsersModel(); |
36 | $data=$users->where($where)->order('create_time','desc')->paginate(10); | 36 | $data=$users->where($where)->order('create_time','desc')->paginate(10); |
-
请 注册 或 登录 后发表评论