cheny 5 年之前
父节点
当前提交
f59342f6d7
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/controller/transaction.js

+ 2 - 1
app/controller/transaction.js

@@ -15,7 +15,8 @@ class TransactionController extends Controller {
 
   async findTransactionList() {
     const res = await this.service.findTransactionList(this.ctx.request.body);
-    this.ctx.ok({ ...res });
+    // this.ctx.ok({ ...res });
+    this.ctx.ok({ res });
   }
 }