正在显示
1 个修改的文件
包含
0 行增加
和
2 行删除
@@ -30,8 +30,6 @@ class IndexController extends HomeBaseController | @@ -30,8 +30,6 @@ class IndexController extends HomeBaseController | ||
30 | $oauth = $app->oauth; | 30 | $oauth = $app->oauth; |
31 | $user = $oauth->user(); | 31 | $user = $oauth->user(); |
32 | $wechat_user = $user->toArray(); | 32 | $wechat_user = $user->toArray(); |
33 | - dump($wechat_user); | ||
34 | - exit(); | ||
35 | if(isset($wechat_user['id'])){ | 33 | if(isset($wechat_user['id'])){ |
36 | $openid=$wechat_user['id']; | 34 | $openid=$wechat_user['id']; |
37 | $findThirdPartyUser = Db::name("third_party_user") | 35 | $findThirdPartyUser = Db::name("third_party_user") |
-
请 注册 或 登录 后发表评论