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