package com.ruzhoukj.sms; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.web.servlet.ServletComponentScan; import org.springframework.context.annotation.ComponentScan; import org.springframework.scheduling.annotation.EnableScheduling; /** * @author 邬吉朋 */ @SpringBootApplication @EnableScheduling @ServletComponentScan @ComponentScan({"com.ruzhoukj.sms","com.platform.exception"}) public class SmsApplication { public static void main(String[] args) { SpringApplication.run(SmsApplication.class, args); } }