cheny 5 năm trước cách đây
mục cha
commit
fa3c5d39d1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/service/transaction.js

+ 1 - 1
app/service/transaction.js

@@ -32,7 +32,7 @@ class TransactionService extends CrudService {
     }
     const newdata = { ...data, username, product_name, market_username };
     const operationlogdata = { dock_id: data.dockid, type: '1' };
-    this.oodel.create(operationlogdata);
+    this.omodel.create(operationlogdata);
     return await this.model.create(newdata);
   }
   async findTransactionList({ product_id }) {