2025-01-09 16:13:40 +08:00
|
|
|
package cd.casic.server;
|
|
|
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
2025-05-10 02:05:18 +08:00
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
import org.springframework.context.annotation.ComponentScans;
|
2025-01-09 16:13:40 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 项目的启动类
|
|
|
|
*
|
|
|
|
* @author mianbin
|
|
|
|
*/
|
|
|
|
|
|
|
|
@SuppressWarnings("SpringComponentScan")
|
2025-05-10 02:05:18 +08:00
|
|
|
@ComponentScan({"cd.casic"})
|
2025-01-09 16:13:40 +08:00
|
|
|
@SpringBootApplication(scanBasePackages = {"${ops.info.base-package}.server", "${ops.info.base-package}.module"})
|
|
|
|
public class OpsServerApplication {
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
SpringApplication.run(OpsServerApplication.class, args);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|