Optimize code
This commit is contained in:
@@ -21,7 +21,7 @@ import top.fatweb.oxygen.api.vo.permission.RegisterVo
|
||||
*/
|
||||
@Aspect
|
||||
@Component
|
||||
class EventLogAspect(
|
||||
class EventLogInterceptor(
|
||||
private val eventLogService: IEventLogService
|
||||
) {
|
||||
/**
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user