src/thinkextend/oauth/Driver.php
public function login($callback = '')
    {
        if ($callback) {
            $this->callback = $callback;
        }
        //跳转到授权页面
        header('Location: ' . $this->getRequestCodeURL());
        exit;
    }
public function login($callback = '')
    {
        if ($callback) {
            $this->callback = $callback;
        }
        //跳转到授权页面
        header('Location: ' . $this->getRequestCodeURL());
        exit;
    }
public function login ( $ callback = '' ) { if ( $ callback ) { $ this -> callback = $ callback ; } //跳转到授权页面 header ( 'Location: ' . $ this -> getRequestCodeURL ( ) ) ; exit ; }
跳转到授权登录页面
跳转到授权登录页面