guhongwei 4 年之前
父節點
當前提交
c9637d3a88
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/service/user.js

+ 1 - 0
app/service/user.js

@@ -155,6 +155,7 @@ class UserService extends CrudService {
   async finduserlist({ skip, limit, ...info }) {
     const query = {
       ...info,
+      isdel: 0,
       $or: [{ role: '4' }, { role: '5' }, { role: '6' }],
     };
     const total = await this.model.count(query);