Browse Source

对接关注

chen 4 years ago
parent
commit
917c9e8bb1
1 changed files with 3 additions and 2 deletions
  1. 3 2
      app/service/intelligentFollow.js

+ 3 - 2
app/service/intelligentFollow.js

@@ -54,9 +54,10 @@ class IntelligentFollowService extends CrudService {
     }
     if (data.creditStatus) {
       match.creditStatus = data.creditStatus;
-    } else {
-      match.creditStatus = { $ne: '1' };
     }
+    // else {
+    //   match.creditStatus = { $ne: '1' };
+    // }
     const skip = Number.parseInt(data.skip) || 1;
     const limit = Number.parseInt(data.limit) || 10;
     const total = await this.model.countDocuments(match);