修改统计单位为分钟
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user