mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-17 14:46:37 +08:00
增加缓存AOP切面
This commit is contained in:
@@ -92,6 +92,10 @@ namespace Yi.Framework.WebCore.AspNetCoreExtensions
|
||||
{
|
||||
//entityInfo.SetValue(new Guid(httpcontext.Request.Headers["TenantId"].ToString()));
|
||||
}
|
||||
if (entityInfo.PropertyName == "CreateTime")
|
||||
{
|
||||
entityInfo.SetValue(DateTime.Now);
|
||||
}
|
||||
break;
|
||||
case DataFilterType.UpdateByObject:
|
||||
if (entityInfo.PropertyName == "ModifyTime")
|
||||
|
||||
Reference in New Issue
Block a user