lrf 2 năm trước cách đây
mục cha
commit
9817c6d12e
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      app/service/user/storeShop.js

+ 1 - 0
app/service/user/storeShop.js

@@ -69,6 +69,7 @@ class StoreShopService extends CrudService {
     // 联表-规格
     const qPipline = _.cloneDeep(pipline);
     qPipline.push({ $sort: sort });
+    console.log(qPipline);
     if (parseInt(skip)) qPipline.push({ $skip: parseInt(skip) });
     if (parseInt(limit)) qPipline.push({ $limit: parseInt(limit) });
     const list = await this.model.aggregate(qPipline);