This commit is contained in:
tanglong 2026-07-29 13:04:16 +08:00
parent fdc983020f
commit 6aba2b2840
8 changed files with 7 additions and 8 deletions

View File

@ -203,11 +203,10 @@ namespace YD_AllHeartRates.Api.Middlewares
var now = DateTime.Now;
// 每天 8:30 ~ 18:30 每小时35分执行
if (now.Hour < 8 || now.Hour > 18 || now.Minute != 14)
if (now.Hour < 8 || now.Hour > 18 || now.Minute != 10)
return;
//var startTime = now.AddHours(-1);
var startTime = now.AddDays(-60);
var startTime = now.AddHours(-1);
var endTime = now;
Console.WriteLine($"[{now}] 开始统计心率数据 {startTime} ~ {endTime}");

View File

@ -19,7 +19,7 @@ namespace YD_AllHeartRates.Api
{
serverOptions.Limits.MaxRequestBodySize = 10485760;
});
webBuilder.UseKestrel().UseUrls("http://*:9996");
webBuilder.UseKestrel().UseUrls("http://*:9994");
webBuilder.UseIIS();
webBuilder.UseStartup<Startup>();
}).UseServiceProviderFactory(new AutofacServiceProviderFactory());

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_AllHeartRates.Api")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+72954d69515c5870deec571139fdd6524a49c33c")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+fdc983020fb1c0941c9ebbbb228b5eb6da0d5a8f")]
[assembly: System.Reflection.AssemblyProductAttribute("YD_AllHeartRates.Api")]
[assembly: System.Reflection.AssemblyTitleAttribute("YD_AllHeartRates.Api")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
26ad753c086fa0a3ba59ea91ff7ba7c0c61b3c0f8c386188c5b26566ab101dba
4fa8d19d5eace93bc279b8dbcef41d490d6a26e10c99925e9cfd699dc5bb5db2

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("YD_AllHeartRates.Commons")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+72954d69515c5870deec571139fdd6524a49c33c")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+fdc983020fb1c0941c9ebbbb228b5eb6da0d5a8f")]
[assembly: System.Reflection.AssemblyProductAttribute("YD_AllHeartRates.Commons")]
[assembly: System.Reflection.AssemblyTitleAttribute("YD_AllHeartRates.Commons")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
484bbd7a9d2e9f6fe3878b6187de583d90e2ed589b1181e225a35246939476ab
7889b0d99f03e494df22f37f302e253401fdfb1bb330c6c5f105c4623394ebea