lrf402788946 4 năm trước cách đây
mục cha
commit
67e9c18af8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/service/statistics/index.js

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

@@ -142,7 +142,7 @@ class IndexService extends CrudService {
       name: '专家注册数量',
       value: exports,
     });
-    const products = await this.productModel.count({ status: '1' });
+    const products = await this.productModel.count({ status: '2' });
     arr.push({
       name: '产品发布数量',
       value: products,