类 OperationLogAutoConfigure


  • @AutoConfiguration
    @EnableConfigurationProperties(OperationLogProperties.class)
    public class OperationLogAutoConfigure
    extends Object
    操作日志自动注入类
    作者:
    zhanglinfeng
    • 构造器详细资料

      • OperationLogAutoConfigure

        public OperationLogAutoConfigure()
    • 方法详细资料

      • enhanceOperationLogBaseService

        @Bean
        @Order(1)
        public EnhanceOperationLogService enhanceOperationLogBaseService​(org.springframework.core.env.Environment environment)
        操作日志基本的属性设置服务
        参数:
        environment - 当前环境变量
        返回:
        enhanceOperationLogBaseService
      • enhanceOperationLogParamsService

        @Bean
        @Order(100)
        public EnhanceOperationLogService enhanceOperationLogParamsService()
        操作日志请求参数设置服务
        返回:
        enhanceOperationLogParamsService
      • enhanceOperationLogSpringElService

        @Bean("enhanceOperationLogSpringElService")
        @Order(300)
        public EnhanceOperationLogService enhanceOperationLogSpringElService()
        操作日志spel 表达式信息
        返回:
        enhanceOperationLogSpringElService
      • enhanceOperationLogUserService

        @Bean
        @Order(200)
        public EnhanceOperationLogService enhanceOperationLogUserService​(OperationLogProperties operationLogProperties)
        操作日志用户信息补充参数
        返回:
        enhanceOperationLogParamsService