lrf 2 năm trước cách đây
mục cha
commit
e382a0e7f6
2 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 1 1
      app/service/system/config.js
  2. 1 0
      app/service/trade/orderDetail.js

+ 1 - 1
app/service/system/config.js

@@ -10,7 +10,7 @@ class ConfigService extends CrudService {
     super(ctx, 'config');
     this.model = this.ctx.model.System.Config;
   }
-  async index() {
+  async query() {
     const data = await this.model.findOne({});
     return data;
   }

+ 1 - 0
app/service/trade/orderDetail.js

@@ -178,6 +178,7 @@ class OrderDetailService extends CrudService {
         status: 1,
         no: 1,
         group: 1,
+        address: 1,
         goods: {
           _id: 1,
           sell_money: 1,