lrf402788946 4 년 전
부모
커밋
0ab426652c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      app/controller/weixin.js

+ 2 - 2
app/controller/weixin.js

@@ -8,10 +8,10 @@ class WeixinController extends Controller {
     this.service = this.ctx.service.weixin;
   }
   async auth() {
-    await this.ctx.service.auth(this.ctx.query);
+    await this.service.auth(this.ctx.query);
   }
   async authBack() {
-    await this.ctx.service.authBack(this.ctx.query);
+    await this.service.authBack(this.ctx.query);
   }
 }
 module.exports = CrudController(WeixinController, {});