...
|
...
|
@@ -65,6 +65,9 @@ class WxloginController extends HomeBaseController |
|
|
* Main:授权登录 获取openid
|
|
|
*/
|
|
|
public function OAuth($redirect_uri){
|
|
|
echo "<pre/>";
|
|
|
print_r($redirect_uri);
|
|
|
die;
|
|
|
if (!Session::get('uid')) {
|
|
|
$url = $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
|
|
|
$temp_one = explode('code=',$url);
|
...
|
...
|
|