You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
756 B
21 lines
756 B
package com.msdw.tms; |
|
|
|
import org.springframework.boot.SpringApplication; |
|
import org.springframework.boot.autoconfigure.SpringBootApplication; |
|
import org.springframework.boot.builder.SpringApplicationBuilder; |
|
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; |
|
import org.springframework.scheduling.annotation.EnableScheduling; |
|
|
|
//@EnableScheduling//定时任务 |
|
@SpringBootApplication |
|
public class TmsApplication extends SpringBootServletInitializer { |
|
|
|
public static void main(String[] args) { |
|
SpringApplication.run(TmsApplication.class, args); |
|
} |
|
|
|
@Override |
|
protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { |
|
return builder.sources(TmsApplication.class); |
|
} |
|
}
|
|
|