lrf402788946 4 年之前
父節點
當前提交
67e9c18af8
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,