mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 08:29:19 +08:00
feat: 操作日志模块(代码+SQL)
- 新增 @OperLog 注解,标记需记录的方法 - 新增 OperLogAspect AOP 切面,自动记录操作日志 - 新增 sys_oper_log 表结构 - 支持异步记录,不阻塞主流程 - application.yml 启用 @EnableAsync
This commit is contained in:
+2
@@ -3,8 +3,10 @@ package top.xyquan.ecomdmbbackend;
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.scheduling.annotation.EnableAsync;
|
||||
|
||||
@SpringBootApplication
|
||||
@EnableAsync
|
||||
@MapperScan({
|
||||
"top.xyquan.ecomdmbbackend.modules.*.mapper",
|
||||
"top.xyquan.ecomdmbbackend.modules.*.*.mapper"
|
||||
|
||||
Reference in New Issue
Block a user