lrf 2 년 전
부모
커밋
ac09123f75
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {