From f6bd3c2f210323bbeed9106f518fc63bc2e4a225 Mon Sep 17 00:00:00 2001 From: simonzhangsz Date: Fri, 19 Apr 2024 18:31:04 +0800 Subject: [PATCH] add: support alarm forward by sms --- restagent/config/config.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/restagent/config/config.go b/restagent/config/config.go index ed87de94..dc8ee014 100644 --- a/restagent/config/config.go +++ b/restagent/config/config.go @@ -93,9 +93,10 @@ type YamlConfig struct { TemplateCode string `yaml:"templateCode"` } `yaml:"sms"` SMSC struct { - Addr string `yaml:"addr"` - UserName string `yaml:"userName"` - Password string `yaml:"password"` + Addr string `yaml:"addr"` + SystemID string `yaml:"systemID"` + Password string `yaml:"password"` + SystemType string `yaml:"systemType"` } `yaml:"smsc"` } `yaml:"alarm"`