分享Java开发相关的技术,以下是启动代码
package ink.oim; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.ComponentScan; import org.springframework.transaction.annotation.EnableTransactionManagement; import com.onlyxiahui.extend.spring.context.annotation.AnnotationBeanFullNameGenerator; import ink.oim.server.common.push.starter.EnableDataPush; @EnableTransactionManagement @SpringBootApplication @EnableDataPush @ComponentScan(basePackages = { "ink.oim" }, nameGenerator = AnnotationBeanFullNameGenerator.class) public class SingleApplication { public static void main(String[] args) { SpringApplication.run(SingleApplication.class, args); } }

开源地址 :)

去gitee搜索OIM