From f9c5a816b1ffd3a58769e6bd110ee0b46a9625f0 Mon Sep 17 00:00:00 2001 From: liguoyang Date: Thu, 25 Jan 2024 14:14:27 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=B0=83=E6=95=B4=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=97=B6=E9=97=B4,=E5=AE=9E=E4=BD=93=E6=98=A0=E5=B0=84?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Src/Dlhis.Entity/Sys/Entities/UserEntity.cs | 2 +- Src/Dlhis.ScheduledTask/Packs/JobPack.cs | 2 +- Src/Dlhis.User.Api/Response/UserResponse.cs | 2 +- Src/Dlhis.User/Identity/Response/UserResponse.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Src/Dlhis.Entity/Sys/Entities/UserEntity.cs b/Src/Dlhis.Entity/Sys/Entities/UserEntity.cs index 37bfdbb5..14fb8f09 100644 --- a/Src/Dlhis.Entity/Sys/Entities/UserEntity.cs +++ b/Src/Dlhis.Entity/Sys/Entities/UserEntity.cs @@ -61,7 +61,7 @@ public class UserEntity /// /// 手机号确认 /// - public string PhoneNumberConfirmed { get; set; } + public bool PhoneNumberConfirmed { get; set; } /// /// 双重验证启用 diff --git a/Src/Dlhis.ScheduledTask/Packs/JobPack.cs b/Src/Dlhis.ScheduledTask/Packs/JobPack.cs index 1827ccb5..c297f580 100644 --- a/Src/Dlhis.ScheduledTask/Packs/JobPack.cs +++ b/Src/Dlhis.ScheduledTask/Packs/JobPack.cs @@ -24,7 +24,7 @@ public class JobPack : BaseAppPack }); - RecurringJob.AddOrUpdate("CreateGetAttendance", s => s.RunAsync(), "0 0/5 * * * ?", new RecurringJobOptions + RecurringJob.AddOrUpdate("CreateGetAttendance", s => s.RunAsync(), "0 0/1 * * * ?", new RecurringJobOptions { TimeZone = TimeZoneInfo.Local }); diff --git a/Src/Dlhis.User.Api/Response/UserResponse.cs b/Src/Dlhis.User.Api/Response/UserResponse.cs index da8b7164..63e4f67e 100644 --- a/Src/Dlhis.User.Api/Response/UserResponse.cs +++ b/Src/Dlhis.User.Api/Response/UserResponse.cs @@ -16,7 +16,7 @@ public class UserResponse public string PhoneNumber { get; set; } - public string PhoneNumberConfirmed { get; set; } + public bool PhoneNumberConfirmed { get; set; } public bool TwoFactorEnabled { get; set; } diff --git a/Src/Dlhis.User/Identity/Response/UserResponse.cs b/Src/Dlhis.User/Identity/Response/UserResponse.cs index be3b78b1..8269d1b2 100644 --- a/Src/Dlhis.User/Identity/Response/UserResponse.cs +++ b/Src/Dlhis.User/Identity/Response/UserResponse.cs @@ -16,7 +16,7 @@ public class UserResponse public string PhoneNumber { get; set; } - public string PhoneNumberConfirmed { get; set; } + public bool PhoneNumberConfirmed { get; set; } public bool TwoFactorEnabled { get; set; }