Package cn.sinozg.applet.opt.config
Class OptLogAutoConfiguration
java.lang.Object
cn.sinozg.applet.opt.config.OptLogAutoConfiguration
@Configuration
@ConditionalOnBean(OptLogMarker.class)
public class OptLogAutoConfiguration
extends Object
- Since:
- 2024-01-15 18:42
- Author:
- xieyubin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionoptLogDataAspect(OptLogProperties optLogProperties, OptLogService optLogService, FrameworkAuthService authService) updateRecordMybatisInterceptor(OptLogProperties optLogProperties)
-
Constructor Details
-
OptLogAutoConfiguration
public OptLogAutoConfiguration()
-
-
Method Details
-
optLogDataAspect
@Bean public OptLogDataAspect optLogDataAspect(OptLogProperties optLogProperties, OptLogService optLogService, FrameworkAuthService authService) -
updateRecordMybatisInterceptor
@Bean @ConditionalOnProperty(name="app.opt-log.data-log", havingValue="true") public OptLogMybatisInterceptor updateRecordMybatisInterceptor(OptLogProperties optLogProperties)
-