前端优化

This commit is contained in:
ryan
2026-06-18 20:12:10 +08:00
parent cf5c2b7258
commit 676899cab0
32 changed files with 126 additions and 63 deletions
@@ -248,10 +248,10 @@ func TestSMTP(c *gin.Context) {
Password: password,
}
subject := "Wavelet SMTP Test Mail"
subject := "OpenFlare SMTP Test Mail"
body := `<h3>SMTP Mail Connection Test</h3>
<p>If you received this message, your SMTP configuration is correct and mail sending is working properly.</p>
<p>Sent from Wavelet.</p>`
<p>Sent from OpenFlare.</p>`
logs, err := mail.SendMailWithLog(c.Request.Context(), cfg, req.To, subject, body)
resp := TestSMTPResponse{
@@ -197,8 +197,8 @@ func TestGetSystemConfig(t *testing.T) {
var cfg model.SystemConfig
_ = json.Unmarshal(dataBytes, &cfg)
if cfg.Value != "Wavelet" {
t.Errorf("expected 'Wavelet', got '%s'", cfg.Value)
if cfg.Value != "OpenFlare" {
t.Errorf("expected 'OpenFlare', got '%s'", cfg.Value)
}
})