diff --git a/Falcon.SugarApi/DatabaseDefinitions/SugarDbContext.cs b/Falcon.SugarApi/DatabaseDefinitions/SugarDbContext.cs index 5f5dbb1..a8f201e 100644 --- a/Falcon.SugarApi/DatabaseDefinitions/SugarDbContext.cs +++ b/Falcon.SugarApi/DatabaseDefinitions/SugarDbContext.cs @@ -234,5 +234,12 @@ namespace Falcon.SugarApi.DatabaseDefinitions } #endregion + + /// + /// 数据库时间 + /// + public DateTime DbDateTime { + get => SqlFunc.GetDate(); + } } }