...
|
...
|
@@ -365,7 +365,7 @@ class LoginController extends HomeBaseController |
|
|
return $url;
|
|
|
}
|
|
|
|
|
|
//第三方微信登录
|
|
|
//第三方微信pc登录
|
|
|
public function wx_login(){
|
|
|
$code = $this->request->get('code');
|
|
|
$url = 'https://api.weixin.qq.com/sns/oauth2/access_token?appid='.$this->appkey1.'&secret='.$this->appsecret1.'&code='.$code.'&grant_type=authorization_code';
|
...
|
...
|
@@ -408,6 +408,11 @@ class LoginController extends HomeBaseController |
|
|
$this->redirect('/');
|
|
|
}
|
|
|
|
|
|
//第三方微信移动端网页登录
|
|
|
public function wx_login_mobile(){
|
|
|
|
|
|
}
|
|
|
|
|
|
//第三方微博登录
|
|
|
public function wb_login(){
|
|
|
$code = $this->request->get('code');
|
...
|
...
|
|