CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_Common/HttpClient/HttpsClient.cs
@@ -57,7 +57,10 @@ if (requestInfo.Count >= 5 && DateTime.Now < requestInfo.LastRequestTime.AddMinutes(10)) { // 如果请求次数超过限制且未超过10分钟,抛出异常 throw new InvalidOperationException("请求次数已达到限制,请稍后再试。"); Console.WriteLine("请求次数已达到限制,请稍后再试。"); Console.WriteLine($"接口地址:{url}"); Console.WriteLine($"请求数据:{JsonConvert.SerializeObject(filteredParameters, Formatting.Indented)}"); throw new Exception($"接口地址:{url}---请求次数已达到限制,请稍后再试。"); } }