liuyu 4 年之前
父节点
当前提交
cd74d8f402
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/user.js

+ 1 - 1
app/service/user.js

@@ -141,7 +141,7 @@ class UserService extends CrudService {
   }
 
   async finduserlist({ skip, limit, ...info }) {
-    const query = { ...info, $or: [{ role: '2' }, { role: '3' }, { role: '6' }] };
+    const query = { ...info, $or: [{ role: '4' }, { role: '5' }, { role: '6' }] };
     const total = await this.model.count(query);
     const data = await this.model.find(query).skip(Number(skip)).limit(Number(limit));
     return { data, total };