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,