fix 非闰年29号生日问题

This commit is contained in:
2026-03-02 10:11:17 +08:00
parent c367d2b253
commit 5d2d6f7b29
2 changed files with 9 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ public class GenerateBirthdayVoucherJob : BaseJob
protected override async Task RunAsync(IServiceProvider serviceProvider)
{
var now = DateTime.Today.Date;
var now = new DateTime(2026, 2, 28); //DateTime.Today.Date;
var voucherApi = serviceProvider.GetService<IVoucherApi>();
await voucherApi.CreateAsync(new VoucherByBirthdayRequest