var urlBuild = new UriBuilder()
            {
                Scheme = this.Request.Scheme,
                Host = this.Request.Host.Host,
                Path = this.Request.PathBase + "/Orders/Detail"
            };
            if (Request.Host.Port != null)
            {
                urlBuild.Port = Request.Host.Port.Value;
            }
            urlBuild.Query = $"orderNumber={item.OrderNumber}";
            tempItem.DetailUrl = urlBuild.Uri.AbsoluteUri;

  

相关文章:

  • 2022-12-23
  • 2021-12-26
  • 2021-06-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2018-05-13
  • 2018-05-29
猜你喜欢
  • 2021-06-26
  • 2021-11-01
  • 2021-11-29
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案