正在显示
1 个修改的文件
包含
4 行增加
和
0 行删除
@@ -52,12 +52,16 @@ class User extends Backend | @@ -52,12 +52,16 @@ class User extends Backend | ||
52 | ->with('group') | 52 | ->with('group') |
53 | ->where($where) | 53 | ->where($where) |
54 | ->where(['mobile' => ['<>','']]) | 54 | ->where(['mobile' => ['<>','']]) |
55 | + ->where(['username' => ['<>','']]) | ||
56 | + ->where(['nickname' => ['<>','']]) | ||
55 | ->order($sort, $order) | 57 | ->order($sort, $order) |
56 | ->count(); | 58 | ->count(); |
57 | $list = $this->model | 59 | $list = $this->model |
58 | ->with('group') | 60 | ->with('group') |
59 | ->where($where) | 61 | ->where($where) |
60 | ->where(['mobile' => ['<>','']]) | 62 | ->where(['mobile' => ['<>','']]) |
63 | + ->where(['username' => ['<>','']]) | ||
64 | + ->where(['nickname' => ['<>','']]) | ||
61 | ->order($sort, $order) | 65 | ->order($sort, $order) |
62 | ->limit($offset, $limit) | 66 | ->limit($offset, $limit) |
63 | ->select(); | 67 | ->select(); |
-
请 注册 或 登录 后发表评论