...
|
...
|
@@ -30,6 +30,7 @@ class IndexController extends HomeBaseController |
|
|
$oauth = $app->oauth;
|
|
|
$user = $oauth->user();
|
|
|
$wechat_user = $user->toArray();
|
|
|
dump($wechat_user);
|
|
|
if(isset($wechat_user['id'])){
|
|
|
$openid=$wechat_user['id'];
|
|
|
$findThirdPartyUser = Db::name("third_party_user")
|
...
|
...
|
|