摘要:
接口处 声明一个切入逻辑 标记接口 所有的方法都要aop 了 [Intercept(typeof(CustomAutofactAOP))] public interface Itest { public void hello(); } public class CustomAutofactAOP : 阅读全文
摘要:
///第一步:配置鉴权的服务 services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme) .AddCookie(options => { options.LoginPath = new PathStrin 阅读全文