25 lines
993 B
Java
25 lines
993 B
Java
package cn.com.tenlion.smessage;
|
|
|
|
import cn.com.tenlion.configcontent.util.AntistopUtil;
|
|
import net.coobird.thumbnailator.Thumbnails;
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.web.servlet.ServletComponentScan;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
import springfox.documentation.oas.annotations.EnableOpenApi;
|
|
import springfox.documentation.swagger2.annotations.EnableSwagger2;
|
|
import java.io.IOException;
|
|
|
|
@EnableOpenApi
|
|
@EnableScheduling
|
|
@SpringBootApplication(scanBasePackages = {"ink.wgink", "cn.com.tenlion"})
|
|
@MapperScan(basePackages = {"ink.wgink.**.dao", "cn.com.tenlion.**.dao"})
|
|
public class SmessageApplication {
|
|
|
|
public static void main(String[] args) throws IOException {
|
|
SpringApplication.run(SmessageApplication.class, args);
|
|
System.out.println("系统启动");
|
|
}
|
|
|
|
} |