作者 anyv
1 个管道 的构建 通过 耗费 0 秒

快递

@@ -30,6 +30,7 @@ class IndexController extends HomeBaseController @@ -30,6 +30,7 @@ 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);
33 if(isset($wechat_user['id'])){ 34 if(isset($wechat_user['id'])){
34 $openid=$wechat_user['id']; 35 $openid=$wechat_user['id'];
35 $findThirdPartyUser = Db::name("third_party_user") 36 $findThirdPartyUser = Db::name("third_party_user")