diff --git a/Src/Dlhis.Middle/Services/Implements/DataDownloadService.cs b/Src/Dlhis.Middle/Services/Implements/DataDownloadService.cs index baad1702..c84960af 100644 --- a/Src/Dlhis.Middle/Services/Implements/DataDownloadService.cs +++ b/Src/Dlhis.Middle/Services/Implements/DataDownloadService.cs @@ -73,9 +73,6 @@ public class DataDownloadService : IDataDownloadService httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", token); var url = $"https://{_hostName}/api/common/SysData/download"; -#if DEBUG - url = "http://localhost:5001/api/SysData/download"; -#endif var requestUrl = QueryHelpers.AddQueryString(url, new Dictionary { diff --git a/Src/Dlhis.Middle/appsettings.Development.json b/Src/Dlhis.Middle/appsettings.Development.json index 0c208ae9..e9c3b230 100644 --- a/Src/Dlhis.Middle/appsettings.Development.json +++ b/Src/Dlhis.Middle/appsettings.Development.json @@ -4,5 +4,8 @@ "Default": "Information", "Microsoft.AspNetCore": "Warning" } - } + }, + "Authority": "https://yikatong.isawesome.cn", + "Factory": "1234", + "HostName": "yikatong.isawesome.cn" }