Commit 0dc4b2c4 authored by 李世星's avatar 李世星

fix(202301301625): 1

parent a7a8f797
......@@ -3,7 +3,6 @@ package ding
import (
"bytes"
"fmt"
"log"
"time"
"github.com/y7ut/logtransfer/entity"
......@@ -68,7 +67,6 @@ func CreateDingMessage(messageType string, msg interface{}, mobiles []string) DD
message.At.IsAtAll = true
}
fmt.Println(message)
return message
}
......@@ -80,6 +78,6 @@ func pluginNotice(msg interface{}) string {
templateBuff.WriteString(fmt.Sprintf(" \r\n > [%s]:%s", key, value))
}
templateBuff.WriteString(fmt.Sprintf(" \r\n ###### %s", time.Now().Format("2006/01/02 15:04:05")))
log.Panicln(templateBuff.String())
return templateBuff.String()
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment