public function getLoginUrl($loginTicket, $target, $agentId = null)
    {
        $params = [
            'login_ticket' => $loginTicket,
            'target'       => $target,
            'agentid'      => $agentId,
        ];

        return $this->parseJSON('json', [self::API_GET_LOGIN_URL, $params]);
    }
public function getLoginUrl($loginTicket, $target, $agentId = null)
    {
        $params = [
            'login_ticket' => $loginTicket,
            'target'       => $target,
            'agentid'      => $agentId,
        ];

        return $this->parseJSON('json', [self::API_GET_LOGIN_URL, $params]);
    }
public function getLoginUrl ( $ loginTicket , $ target , $ agentId = null ) { $ params = [ 'login_ticket' => $ loginTicket , 'target' => $ target , 'agentid' => $ agentId , ] ; return $ this -> parseJSON ( 'json' , [ self :: API_GET_LOGIN_URL , $ params ] ) ; }
Get the Login URL.

@param string   $loginTicket
@param string   $target
@param int|null $agentId

@return \EntWeChat\Support\Collection
Get the Login URL .