Commit 64a74b4f authored by 李世星's avatar 李世星

Merge branch 'lisx' into 'developer'

fix(202301301625): 1

See merge request !14
parents f932c8b6 0dc4b2c4
Pipeline #16076 passed with stage
in 0 seconds
...@@ -3,7 +3,6 @@ package ding ...@@ -3,7 +3,6 @@ package ding
import ( import (
"bytes" "bytes"
"fmt" "fmt"
"log"
"time" "time"
"github.com/y7ut/logtransfer/entity" "github.com/y7ut/logtransfer/entity"
...@@ -68,7 +67,6 @@ func CreateDingMessage(messageType string, msg interface{}, mobiles []string) DD ...@@ -68,7 +67,6 @@ func CreateDingMessage(messageType string, msg interface{}, mobiles []string) DD
message.At.IsAtAll = true message.At.IsAtAll = true
} }
fmt.Println(message)
return message return message
} }
...@@ -80,6 +78,6 @@ func pluginNotice(msg interface{}) string { ...@@ -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]:%s", key, value))
} }
templateBuff.WriteString(fmt.Sprintf(" \r\n ###### %s", time.Now().Format("2006/01/02 15:04:05"))) templateBuff.WriteString(fmt.Sprintf(" \r\n ###### %s", time.Now().Format("2006/01/02 15:04:05")))
log.Panicln(templateBuff.String())
return 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