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