1
0

marge: 合并代码,包名变更be.ems

This commit is contained in:
TsMask
2024-03-18 15:22:47 +08:00
parent df904f5328
commit 78bd110b03
393 changed files with 7870 additions and 5170 deletions

View File

@@ -5,8 +5,8 @@ import (
"os"
"strings"
"ems.agt/lib/global"
"ems.agt/lib/log"
"be.ems/lib/global"
"be.ems/lib/log"
"gopkg.in/yaml.v3"
)
@@ -92,18 +92,24 @@ type YamlConfig struct {
User string `yaml:"user"`
Password string `yaml:"password"`
TlsSkipVerify bool `yaml:"tlsSkipVerify"`
} `json:"email"`
} `yaml:"email"`
SMS struct {
ApiURL string `yaml:"apiURL"`
AccessKeyID string `yaml:"AccessKeyID"`
AccessKeySecret string `yaml:"accessKeySecret"`
SignName string `yaml:"signName"`
TemplateCode string `yaml:"templateCode"`
} `json:"sms"`
} `yaml:"sms"`
SMSC struct {
Addr string `yaml:"addr"`
UserName string `yaml:"userName"`
Password string `yaml:"password"`
} `yaml:"smsc"`
} `yaml:"alarm"`
MML struct {
Port int `yaml:"port"`
Port2 int `yaml:"port2"`
Sleep int64 `yaml:"sleep"`
DeadLine int64 `yaml:"deadLine"`
User string `yaml:"user"`

View File

@@ -6,7 +6,7 @@ import (
"gopkg.in/yaml.v3"
"ems.agt/lib/global"
"be.ems/lib/global"
)
type Uri2Object struct {