You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
551 B
Java
19 lines
551 B
Java
package com.xydl;
|
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
|
|
|
@EnableScheduling
|
|
@MapperScan(basePackages = "com.xydl.mapper")
|
|
@SpringBootApplication//标识该类为主程序启动类
|
|
public class MqttApplication {
|
|
//主程序启动方法
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(MqttApplication.class,args);
|
|
}
|
|
|
|
|
|
}
|