package org.jeecg.config;

import org.jeecg.common.aspect.NoRepeatSubmitAspect;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration(proxyBeanMethods = false)
@AutoConfigureAfter(RedisAutoConfiguration.class)
public class RepeatAutoConfiguration {
    @Bean
    public NoRepeatSubmitAspect repeatSubmitAspect() {
        return new NoRepeatSubmitAspect();
    }
}
