2025-10-05 18:00:29 +08:00
|
|
|
package org.xyzh;
|
|
|
|
|
|
|
|
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
2025-10-25 18:46:54 +08:00
|
|
|
import org.springframework.scheduling.annotation.EnableScheduling;
|
2025-10-07 11:02:35 +08:00
|
|
|
import org.springframework.transaction.annotation.EnableTransactionManagement;
|
2025-10-05 18:00:29 +08:00
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @description 校园新闻管理系统主应用入口
|
|
|
|
|
* @filename App.java
|
|
|
|
|
* @author yslg
|
|
|
|
|
* @copyright xyzh
|
|
|
|
|
* @since 2025-10-05
|
|
|
|
|
*/
|
2025-10-07 11:02:35 +08:00
|
|
|
@EnableTransactionManagement
|
2025-10-05 18:00:29 +08:00
|
|
|
@SpringBootApplication(scanBasePackages = "org.xyzh")
|
2025-10-25 18:46:54 +08:00
|
|
|
@EnableScheduling
|
2025-10-16 14:31:56 +08:00
|
|
|
@MapperScan({"org.xyzh.system.mapper", "org.xyzh.file.mapper", "org.xyzh.news.mapper", "org.xyzh.study.mapper",
|
2025-11-13 19:00:27 +08:00
|
|
|
"org.xyzh.usercenter.mapper", "org.xyzh.ai.mapper", "org.xyzh.achievement.mapper", "org.xyzh.crontab.mapper",
|
|
|
|
|
"org.xyzh.message.mapper"})
|
2025-10-05 18:00:29 +08:00
|
|
|
public class App {
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
SpringApplication.run(App.class, args);
|
|
|
|
|
System.out.println("========================================");
|
|
|
|
|
System.out.println("校园新闻管理系统启动成功!");
|
|
|
|
|
System.out.println("========================================");
|
|
|
|
|
}
|
|
|
|
|
}
|