lrf402788946 4 éve
szülő
commit
4b7593cc60
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      app/service/statistics/index.js

+ 2 - 2
app/service/statistics/index.js

@@ -132,7 +132,7 @@ class IndexService extends CrudService {
       value: organization,
     });
     // TODO:如果需要专家和个人用户区分开,则is_expert:false, 混查则不需要is_expert条件
-    const user = await this.personalModel.count({ status: '1' });
+    const user = await this.personalModel.count({ status: '1', is_expert: false });
     arr.push({
       name: '个人注册数量',
       value: user,
@@ -144,7 +144,7 @@ class IndexService extends CrudService {
     });
     const products = await this.productModel.count({ status: '1' });
     arr.push({
-      name: '产品注册数量',
+      name: '产品发布数量',
       value: products,
     });
     const surveys = await this.surveyModel.count();