mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-23 15:35:06 +08:00
增加菜单的定时刷新
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
package cn.iocoder.dashboard.framework.quartz.config;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
|
||||
@Configuration
|
||||
@EnableScheduling // 开启 Spring 自带的定时任务
|
||||
public class QuartzConfig {
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
/**
|
||||
* 定时任务,采用 Quartz 实现进程内的任务执行。
|
||||
* 考虑到高可用,使用 Quartz 自带的 MySQL 集群方案。
|
||||
*/
|
||||
package cn.iocoder.dashboard.framework.quartz;
|
Reference in New Issue
Block a user