瀏覽代碼

Merge branch 'master' of http://139.155.15.221:3000/zoulei/XdCxRhDW

wyq 1 年之前
父節點
當前提交
59811bba76
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      XdCxRhDW.Framework/HttpHelper.cs

+ 1 - 0
XdCxRhDW.Framework/HttpHelper.cs

@@ -95,6 +95,7 @@ public class HttpHelper
     /// <returns></returns>
     public static async Task<bool> DownloadFileAsync(string baseUrl, string remoteFileName, string localFile, int timeoutSeconds = 30)
     {
+        baseUrl = baseUrl.Replace("/api", "");
         if (!baseUrl.EndsWith("/"))
             baseUrl += "/";
         var server = new Uri(baseUrl + $"wwwroot/{remoteFileName}");