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