mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-04 00:35:47 +08:00
23 lines
623 B
C#
23 lines
623 B
C#
|
|
using Microsoft.AspNetCore.Mvc.Filters;
|
|||
|
|
using Microsoft.IdentityModel.JsonWebTokens;
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text.RegularExpressions;
|
|||
|
|
using System.Threading.Tasks;
|
|||
|
|
using Yi.Framework.Common.Const;
|
|||
|
|
using Yi.Framework.Common.Enum;
|
|||
|
|
|
|||
|
|
namespace Yi.Framework.WebCore.AttributeExtend
|
|||
|
|
{
|
|||
|
|
[AttributeUsage(AttributeTargets.Method)]
|
|||
|
|
public class LogAttribute : Attribute
|
|||
|
|
{
|
|||
|
|
private OperationEnum OperationType { get; set; }
|
|||
|
|
|
|||
|
|
public LogAttribute(OperationEnum operationType)
|
|||
|
|
{
|
|||
|
|
this.OperationType = operationType;
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|