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);