feat: 修改从gitea上获取配置的逻辑
All checks were successful
Redis序列化结构检查 / redis-schema-check (push) Has been skipped

This commit is contained in:
2026-07-13 16:49:00 +08:00
parent 327546b127
commit 797f435ccd
7 changed files with 52 additions and 17 deletions

View File

@@ -37,7 +37,8 @@ public class CheckerConfig {
public static class Notify {
private boolean enabled = true;
private String webhookEnv = "WECOM_ROBOT_WEBHOOK";
/** 企微机器人 Webhook 完整 URL */
private String webhookUrl = "";
private boolean notifyOnClean = false;
private String titlePrefix = "[Redis结构变更]";
@@ -49,12 +50,12 @@ public class CheckerConfig {
this.enabled = enabled;
}
public String getWebhookEnv() {
return webhookEnv;
public String getWebhookUrl() {
return webhookUrl;
}
public void setWebhookEnv(String webhookEnv) {
this.webhookEnv = webhookEnv;
public void setWebhookUrl(String webhookUrl) {
this.webhookUrl = webhookUrl;
}
public boolean isNotifyOnClean() {