|
@@ -20,7 +20,7 @@ class ShopService extends CrudService {
|
|
|
const arr = [];
|
|
|
for (const s of list) {
|
|
|
const { _id: shop, name, logo } = s;
|
|
|
- const market_num = await this.ctx.service.shop.goods.count({ shop });
|
|
|
+ const market_num = await this.ctx.service.shop.goods.count({ shop, status: '1' });
|
|
|
// 收藏
|
|
|
const follow_num = await this.storeShopModel.count({ shop });
|
|
|
// 当前用户是否收藏
|