结构调整
This commit is contained in:
@@ -19,7 +19,7 @@ public class PeriodicBillBackgroundService(
|
||||
try
|
||||
{
|
||||
var now = DateTime.Now;
|
||||
|
||||
|
||||
// 计算下次执行时间(每天早上6点)
|
||||
var nextRun = now.Date.AddHours(6);
|
||||
if (now >= nextRun)
|
||||
|
||||
Reference in New Issue
Block a user