其他分享
首页 > 其他分享> > 2021-07-21 .NET高级班 115-直播项目专题(权限模块的缓存)

2021-07-21 .NET高级班 115-直播项目专题(权限模块的缓存)

作者:互联网

在这里插入图片描述

1.aotufac拦截器

/// <summary>
/// 记录日志
/// </summary>
public class CustomAutofacCacheAop : IInterceptor
{
   
    private readonly ILogger<CustomAutofacCacheAop> _logger;
    private readonly RedisHashService _RedisHashService;
    private readonly RedisStringService _RedisStringService;
     
    public CustomAutofacCacheAop

标签:高级班,21,RedisHashService,CustomAutofacCacheAop,private,115,readonly,public,RedisS
来源: https://blog.csdn.net/zhaoxi2020/article/details/118958159