/* (C) 2024 YiRing, Inc. */
package com.yiring.common.config;

import com.yiring.common.filter.CacheRequestContentFilter;
import org.springframework.boot.autoconfigure.AutoConfigureOrder;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;

/**
 * @author Jim
 */
@Configuration
@AutoConfigureOrder(Ordered.HIGHEST_PRECEDENCE)
public class FilterConfig {

    @Bean
    public CacheRequestContentFilter cacheRequestContentFilter() {
        return new CacheRequestContentFilter();
    }
}
