fix 移除if debug宏
This commit is contained in:
@@ -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<string, string>
|
||||
{
|
||||
|
||||
@@ -4,5 +4,8 @@
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Authority": "https://yikatong.isawesome.cn",
|
||||
"Factory": "1234",
|
||||
"HostName": "yikatong.isawesome.cn"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user