修改统计单位为分钟

This commit is contained in:
zhonghua.li
2026-02-03 21:42:00 +08:00
parent aca05abd73
commit ec16419f1f
6 changed files with 44 additions and 17 deletions

View File

@@ -6,7 +6,7 @@ import org.springframework.context.annotation.Configuration;
/**
* 应用配置类
*
*
* @author Auto Generated
* @since 2025-01-01
*/
@@ -14,10 +14,26 @@ import org.springframework.context.annotation.Configuration;
@Configuration
@ConfigurationProperties(prefix = "app")
public class AppConfig {
/**
* 应用时区,默认为 Asia/Shanghai
*/
private String timezone = "Asia/Shanghai";
/**
* 调度器配置
*/
private SchedulerConfig scheduler = new SchedulerConfig();
/**
* 调度器配置类
*/
@Data
public static class SchedulerConfig {
/**
* 是否启用调度器,默认为 true
*/
private boolean start = true;
}
}