src/Service/LinkTo.php
public function getFullUrl($linkTo)
    {
        $url = $this->getUrl($linkTo);

        if (!wei()->isStartsWith($url, 'http')) {
            $url = wei()->request->getUrlFor($url);
        }

        return $url;
    }
public function getFullUrl($linkTo)
    {
        $url = $this->getUrl($linkTo);

        if (!wei()->isStartsWith($url, 'http')) {
            $url = wei()->request->getUrlFor($url);
        }

        return $url;
    }
public function getFullUrl ( $ linkTo ) { $ url = $ this -> getUrl ( $ linkTo ) ; if ( ! wei ( ) -> isStartsWith ( $ url , 'http' ) ) { $ url = wei ( ) -> request -> getUrlFor ( $ url ) ; } return $ url ; }
根据LinkTo配置,获取完整的URL地址

@param array|null $linkTo
@return string
根据LinkTo配置 获取完整的URL地址