Optimize code

This commit is contained in:
2024-02-26 14:09:28 +08:00
parent 6473bf7a74
commit 1edfeffbf4
3 changed files with 3 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ import top.fatweb.oxygen.api.vo.permission.RegisterVo
*/
@Aspect
@Component
class EventLogAspect(
class EventLogInterceptor(
private val eventLogService: IEventLogService
) {
/**

View File

@@ -1,4 +1,4 @@
package top.fatweb.oxygen.api.interceptor
package top.fatweb.oxygen.api.aop
import jakarta.servlet.http.HttpServletRequest
import jakarta.servlet.http.HttpServletResponse

View File

@@ -3,7 +3,7 @@ package top.fatweb.oxygen.api.config
import org.springframework.context.annotation.Configuration
import org.springframework.web.servlet.config.annotation.InterceptorRegistry
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer
import top.fatweb.oxygen.api.interceptor.SysLogInterceptor
import top.fatweb.oxygen.api.aop.SysLogInterceptor
/**
* System log configuration