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() {
     const res = await this.service.getdock(this.ctx.params);
-    this.ctx.ok({ ...res });
+    this.ctx.ok({ res });
   }
 }