lrf402788946 %!s(int64=4) %!d(string=hai) anos
pai
achega
67e9c18af8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,