lrf402788946 4 gadi atpakaļ
vecāks
revīzija
67e9c18af8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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,