lrf 2 years ago
parent
commit
ac09123f75
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/view/shop.js

+ 1 - 1
app/service/view/shop.js

@@ -27,7 +27,7 @@ class ShopService extends CrudService {
     //   },
     // });
     // const list = await this.model.aggregate(pipline);
-    let list = await this.ctx.service.shop.shop.query(condition, { ...options, projection: [ 'name', 'file' ] });
+    let list = await this.ctx.service.shop.shop.query(condition, { ...options, projection: [ 'name', 'logo' ] });
     list = JSON.parse(JSON.stringify(list));
     const arr = [];
     for (const s of list) {