fix 调整任务时间,实体映射类型

This commit is contained in:
2024-01-25 14:14:27 +08:00
parent 7044fc49f2
commit f9c5a816b1
4 changed files with 4 additions and 4 deletions

View File

@@ -61,7 +61,7 @@ public class UserEntity
/// <summary> /// <summary>
/// 手机号确认 /// 手机号确认
/// </summary> /// </summary>
public string PhoneNumberConfirmed { get; set; } public bool PhoneNumberConfirmed { get; set; }
/// <summary> /// <summary>
/// 双重验证启用 /// 双重验证启用

View File

@@ -24,7 +24,7 @@ public class JobPack : BaseAppPack
}); });
RecurringJob.AddOrUpdate<CreateGetAttendanceJob>("CreateGetAttendance", s => s.RunAsync(), "0 0/5 * * * ?", new RecurringJobOptions RecurringJob.AddOrUpdate<CreateGetAttendanceJob>("CreateGetAttendance", s => s.RunAsync(), "0 0/1 * * * ?", new RecurringJobOptions
{ {
TimeZone = TimeZoneInfo.Local TimeZone = TimeZoneInfo.Local
}); });

View File

@@ -16,7 +16,7 @@ public class UserResponse
public string PhoneNumber { get; set; } public string PhoneNumber { get; set; }
public string PhoneNumberConfirmed { get; set; } public bool PhoneNumberConfirmed { get; set; }
public bool TwoFactorEnabled { get; set; } public bool TwoFactorEnabled { get; set; }

View File

@@ -16,7 +16,7 @@ public class UserResponse
public string PhoneNumber { get; set; } public string PhoneNumber { get; set; }
public string PhoneNumberConfirmed { get; set; } public bool PhoneNumberConfirmed { get; set; }
public bool TwoFactorEnabled { get; set; } public bool TwoFactorEnabled { get; set; }