保存本机重置业务初稿与通道权限测试检查点

This commit is contained in:
xuans committed 2026-09-21 00:39:47 +08:00
1 parent ec800fc4b6
commit 5c327e2b48
5 files changed
+597

No files matched your search

+4
View File
@@ -129,6 +129,10 @@ func (s *Service) sendHTTP(ctx context.Context, event Event) error {
if err != nil {
return err
}
return s.sendHTTPPayload(ctx, payload)
}
func (s *Service) sendHTTPPayload(ctx context.Context, payload mailPayload) error {
body, err := json.Marshal(payload)
if err != nil {
return fmt.Errorf("编码邮件通知失败:%w", err)