From 129df497fe22d516fae777dbcb9c98bc6d979981 Mon Sep 17 00:00:00 2001 From: engigu Date: Tue, 9 Jan 2024 11:51:53 +0800 Subject: [PATCH] adjust out format --- service/send_message_service/send_message.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/service/send_message_service/send_message.go b/service/send_message_service/send_message.go index 7840cc7..43f5ef5 100644 --- a/service/send_message_service/send_message.go +++ b/service/send_message_service/send_message.go @@ -136,13 +136,13 @@ func (sm *SendMessageService) Send() string { func (sm *SendMessageService) AppendSendContent() { sm.LogOutput = append(sm.LogOutput, fmt.Sprintf(">> 发送的内容:")) if sm.Text != "" { - sm.LogOutput = append(sm.LogOutput, fmt.Sprintf("Text: %s", sm.Text)) + sm.LogOutput = append(sm.LogOutput, fmt.Sprintf("Text: %s \n", sm.Text)) } if sm.HTML != "" { - sm.LogOutput = append(sm.LogOutput, fmt.Sprintf("HTML: %s", sm.HTML)) + sm.LogOutput = append(sm.LogOutput, fmt.Sprintf("HTML: %s \n", sm.HTML)) } if sm.MarkDown != "" { - sm.LogOutput = append(sm.LogOutput, fmt.Sprintf("MarkDown: %s", sm.MarkDown)) + sm.LogOutput = append(sm.LogOutput, fmt.Sprintf("MarkDown: %s \n", sm.MarkDown)) } }