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

+ 1 - 1
app/controller/dock.js

@@ -30,7 +30,7 @@ class DockController extends Controller {
   }
   }
   async getdock() {
   async getdock() {
     const res = await this.service.getdock(this.ctx.params);
     const res = await this.service.getdock(this.ctx.params);
-    this.ctx.ok({ ...res });
+    this.ctx.ok({ res });
   }
   }
 }
 }