mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-04-10 11:01:28 +08:00
🐛fix: 部分服务器晚8个小时问题
This commit is contained in:
@@ -12,6 +12,7 @@ using System;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using OpenAuth.Repository.Core;
|
||||
using Infrastructure.Helpers;
|
||||
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
@@ -36,10 +37,10 @@ namespace OpenAuth.Repository.Domain
|
||||
this.DeleteMark= 0;
|
||||
this.Disabled= 0;
|
||||
this.Description= string.Empty;
|
||||
this.CreateDate= DateTime.Now;
|
||||
this.CreateDate= TimeHelper.Now;
|
||||
this.CreateUserId= string.Empty;
|
||||
this.CreateUserName= string.Empty;
|
||||
this.ModifyDate= DateTime.Now;
|
||||
this.ModifyDate= TimeHelper.Now;
|
||||
this.ModifyUserId= string.Empty;
|
||||
this.ModifyUserName= string.Empty;
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Text;
|
||||
using OpenAuth.Repository.Core;
|
||||
using Infrastructure.Helpers;
|
||||
|
||||
namespace OpenAuth.Repository.Domain
|
||||
{
|
||||
@@ -27,19 +28,19 @@ namespace OpenAuth.Repository.Domain
|
||||
this.JobName= string.Empty;
|
||||
this.RunCount= 0;
|
||||
this.ErrorCount= 0;
|
||||
this.NextRunTime= DateTime.Now;
|
||||
this.LastRunTime= DateTime.Now;
|
||||
this.LastErrorTime= DateTime.Now;
|
||||
this.NextRunTime= TimeHelper.Now;
|
||||
this.LastRunTime= TimeHelper.Now;
|
||||
this.LastErrorTime= TimeHelper.Now;
|
||||
this.JobType= 0;
|
||||
this.JobCall= string.Empty;
|
||||
this.JobCallParams= string.Empty;
|
||||
this.Cron= string.Empty;
|
||||
this.Status= 0;
|
||||
this.Remark= string.Empty;
|
||||
this.CreateTime= DateTime.Now;
|
||||
this.CreateTime= TimeHelper.Now;
|
||||
this.CreateUserId= string.Empty;
|
||||
this.CreateUserName= string.Empty;
|
||||
this.UpdateTime= DateTime.Now;
|
||||
this.UpdateTime= TimeHelper.Now;
|
||||
this.UpdateUserId= string.Empty;
|
||||
this.UpdateUserName= string.Empty;
|
||||
this.OrgId= string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user