李昊 4 年之前
父节点
当前提交
d2ba8e1eb9
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gx_api/GxPress/Infrastructure/GxPress.Common/Tools/StringUtils.cs

+ 1 - 1
gx_api/GxPress/Infrastructure/GxPress.Common/Tools/StringUtils.cs

@@ -251,7 +251,7 @@ namespace GxPress.Common.Tools
         public static string RemoveDomain(string url)
         {
             if (string.IsNullOrEmpty(url)) return string.Empty;
-            url = url.Replace("service", "");
+            url = url.Replace("service/", "");
             return IsDomain(url) ? new Uri(url).PathAndQuery : url;
         }