24 lines
784 B
Java
24 lines
784 B
Java
|
|
package org.xyzh;
|
||
|
|
|
||
|
|
import org.mybatis.spring.annotation.MapperScan;
|
||
|
|
import org.springframework.boot.SpringApplication;
|
||
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @description 校园新闻管理系统主应用入口
|
||
|
|
* @filename App.java
|
||
|
|
* @author yslg
|
||
|
|
* @copyright xyzh
|
||
|
|
* @since 2025-10-05
|
||
|
|
*/
|
||
|
|
@SpringBootApplication(scanBasePackages = "org.xyzh")
|
||
|
|
@MapperScan({"org.xyzh.system.mapper", "org.xyzh.news.mapper"})
|
||
|
|
public class App {
|
||
|
|
|
||
|
|
public static void main(String[] args) {
|
||
|
|
SpringApplication.run(App.class, args);
|
||
|
|
System.out.println("========================================");
|
||
|
|
System.out.println("校园新闻管理系统启动成功!");
|
||
|
|
System.out.println("========================================");
|
||
|
|
}
|
||
|
|
}
|