liuyu 5 سال پیش
والد
کامیت
213322e29b
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      app/controller/weixin.js

+ 1 - 1
app/controller/weixin.js

@@ -131,7 +131,7 @@ class WeixinController extends Controller {
         // TODO: 重定性页面
         this.ctx.redirect(to_uri);
       }
-    } elseif(type === '1'){
+    } else if(type === '1'){
       const user = await this.ctx.service.user.fetch(uid);
       let _type = '';
       if (user) {