protected function getQrConnectUrl($state)
    {
        $queries = [
            'appid' => $this->clientId,
            'agentid' => $this->agentId,
            'redirect_uri' => $this->redirectUrl,
            'state' => $state,
        ];

        return 'https://open.work.weixin.qq.com/wwopen/sso/qrConnect?'.http_build_query($queries);
    }
protected function getQrConnectUrl($state)
    {
        $queries = [
            'appid' => $this->clientId,
            'agentid' => $this->agentId,
            'redirect_uri' => $this->redirectUrl,
            'state' => $state,
        ];

        return 'https://open.work.weixin.qq.com/wwopen/sso/qrConnect?'.http_build_query($queries);
    }
protected function getQrConnectUrl ( $ state ) { $ queries = [ 'appid' => $ this -> clientId , 'agentid' => $ this -> agentId , 'redirect_uri' => $ this -> redirectUrl , 'state' => $ state , ] ; return 'https://open.work.weixin.qq.com/wwopen/sso/qrConnect?' . http_build_query ( $ queries ) ; }
Qr connect url.

@param string $state

@return string
Qr connect url .