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

+ 1 - 0
app/service/view/goods.js

@@ -79,6 +79,7 @@ class GoodsService extends CrudService {
         create_time: 1,
         sell_money: { $toDouble: '$specs.sell_money' },
         flow_money: { $toDouble: '$specs.flow_money' },
+        num: '$specs.num',
         createdAt: '$meta.createdAt',
         spec_file: '$specs.file',
       },