|
@@ -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) {
|