package com.gci.boot.common.config;

import com.gci.boot.common.log.aspect.SysLogAspect;
import com.gci.boot.modules.system.service.ISysLogService;
import com.gci.boot.modules.system.service.ISysUserService;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class LogConfig {

    @Bean
    public SysLogAspect sysLogAspect(ISysLogService sysLogService, ISysUserService sysUserService) {
        return new SysLogAspect(sysLogService, sysUserService);
    }
}
