...
|
...
|
@@ -86,6 +86,9 @@ class WxloginController extends HomeBaseController |
|
|
$url = $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
|
|
|
$temp_one = explode('code=',$url);
|
|
|
if(!empty($temp_one[1])){
|
|
|
echo "<pre/>";
|
|
|
print_r('333');
|
|
|
die;
|
|
|
$temp_two = explode('&state',$temp_one[1]);
|
|
|
if ($temp_two[0]) {
|
|
|
//第二步 获取access_token
|
...
|
...
|
|