修复发送问题

This commit is contained in:
扫地僧 2026-06-18 00:58:26 +08:00
parent bd30b68766
commit 33cfed6200

View File

@ -96,7 +96,7 @@ func (s *EmailSender) Send(ctx context.Context, reminder *models.PlatformSchedul
return false, fmt.Errorf("未配置收件邮箱")
}
sysDomain := models.GetPlatformSettingValue("system_domain", "http://127.0.0.1:8080")
sysDomain := models.GetPlatformSettingValue("system_domain", "https://api.yunzer.cn")
ackToken := ""
if reminder.AckToken != nil {
ackToken = *reminder.AckToken
@ -159,7 +159,7 @@ func (s *BarkSender) Send(ctx context.Context, reminder *models.PlatformSchedule
}
serverURL := models.GetPlatformSettingValue("bark_server_url", "https://api.day.app")
sysDomain := models.GetPlatformSettingValue("system_domain", "http://127.0.0.1:8080")
sysDomain := models.GetPlatformSettingValue("system_domain", "https://api.yunzer.cn")
ackToken := ""
if reminder.AckToken != nil {
ackToken = *reminder.AckToken