lrf402788946 4 лет назад
Родитель
Сommit
0a02fa80b1
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/controller/weixin.js

+ 1 - 1
app/controller/weixin.js

@@ -209,7 +209,7 @@ class WeixinController extends Controller {
     console.warn('-------');
     console.warn(`openid=>${appopenid}`);
     const res = await this.ctx.service.user.findByAppOpenid(appopenid);
-    console.warn(res);
+    console.warn({ user: res, openid: appopenid });
     this.ctx.ok({ user: res, openid: appopenid });
   }
 }