中文枚举

This commit is contained in:
2025-10-24 21:38:52 +08:00
parent 3fd97aa43f
commit bd8729d473
7 changed files with 9 additions and 18 deletions

View File

@@ -163,7 +163,7 @@ type LoraMeshConfig struct {
// NotifyConfig 包含了所有与通知服务相关的配置
type NotifyConfig struct {
Primary string `yaml:"primary"` // 首选通知渠道 (e.g., "smtp", "wechat", "lark", "log")
Primary string `yaml:"primary"` // 首选通知渠道 (e.g., "邮件", "企业微信", "飞书", "日志")
FailureThreshold int `yaml:"failureThreshold"` // 连续失败多少次后触发广播模式
SMTP SMTPConfig `yaml:"smtp"`
WeChat WeChatConfig `yaml:"wechat"`