李昊 4 vuotta sitten
vanhempi
commit
d2ba8e1eb9

+ 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;
         }