作者 景龙
1 个管道 的构建 通过 耗费 6 秒

上传微信验证txt

@@ -365,7 +365,7 @@ class LoginController extends HomeBaseController @@ -365,7 +365,7 @@ class LoginController extends HomeBaseController
365 return $url; 365 return $url;
366 } 366 }
367 367
368 - //第三方微信登录 368 + //第三方微信pc登录
369 public function wx_login(){ 369 public function wx_login(){
370 $code = $this->request->get('code'); 370 $code = $this->request->get('code');
371 $url = 'https://api.weixin.qq.com/sns/oauth2/access_token?appid='.$this->appkey1.'&secret='.$this->appsecret1.'&code='.$code.'&grant_type=authorization_code'; 371 $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 @@ -408,6 +408,11 @@ class LoginController extends HomeBaseController
408 $this->redirect('/'); 408 $this->redirect('/');
409 } 409 }
410 410
  411 + //第三方微信移动端网页登录
  412 + public function wx_login_mobile(){
  413 +
  414 + }
  415 +
411 //第三方微博登录 416 //第三方微博登录
412 public function wb_login(){ 417 public function wb_login(){
413 $code = $this->request->get('code'); 418 $code = $this->request->get('code');
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 <!-- Set render engine for 360 browser --> 5 <!-- Set render engine for 360 browser -->
6 <meta name="renderer" content="webkit"> 6 <meta name="renderer" content="webkit">
7 <meta charset="utf-8"> 7 <meta charset="utf-8">
8 - <title>ThinkCMF {:lang('ADMIN_CENTER')}</title> 8 + <title>独角星球 {:lang('ADMIN_CENTER')}</title>
9 <meta name="description" content="This is page-header (.page-header &gt; h1)"> 9 <meta name="description" content="This is page-header (.page-header &gt; h1)">
10 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 10 <meta name="viewport" content="width=device-width, initial-scale=1.0">
11 <!-- HTML5 shim for IE8 support of HTML5 elements --> 11 <!-- HTML5 shim for IE8 support of HTML5 elements -->