package cn.reghao.tnb.content.app;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

@SpringBootApplication
@ComponentScan({"cn.reghao.tnb.content", "cn.reghao.tnb.common"})
/*@ComponentScan(
        value = {"cn.reghao.tnb.content", "cn.reghao.tnb.common"},
        excludeFilters = @ComponentScan.Filter(
                type = FilterType.REGEX, pattern = {"cn.reghao.tnb.content.app.z.comment.*"}
        )
)*/
public class ContentApplication {
    public static void main(String[] args) {
        SpringApplication.run(ContentApplication.class, args);
    }
}
