From f7119a32ea3ed50df5fae2f4900b32f3e207a638 Mon Sep 17 00:00:00 2001 From: hujiebin Date: Wed, 23 Aug 2023 12:34:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=8E=BB=E6=8E=89=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/tencentyun/tencentyun.go | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/tencentyun/tencentyun.go b/common/tencentyun/tencentyun.go index d9a54be..0ede32e 100644 --- a/common/tencentyun/tencentyun.go +++ b/common/tencentyun/tencentyun.go @@ -57,7 +57,7 @@ func SendSystemMsg(logger *logrus.Entry, groupId string, members []string, conte } func SendSystemMsgBy(logger *logrus.Entry, txGroupId string, members []string, content string, reqUrl string, getAdminSig func() (string, error), appId int) error { logger = logger.WithField("appId", appId).WithField("txGroupId", txGroupId) - logger.Infof("SendSystemMsg content: %s", content) + //logger.Infof("SendSystemMsg content: %s", content) beginTime := time.Now() type BodyStruct struct { diff --git a/main.go b/main.go index 431e813..3594395 100644 --- a/main.go +++ b/main.go @@ -122,7 +122,7 @@ func SendSignalMsg(groupId string, msg GroupSystemMsg) { buffer, err := json.Marshal(msg) if err == nil { str := string(buffer) - mylogrus.MyLog.Infof("cron micChangeSys SendSignalMsg: %s", str) + //mylogrus.MyLog.Infof("cron micChangeSys SendSignalMsg: %s", str) logger := mylogrus.MyLog.WithField("msgId", msg.MsgId) if err = tencentyun.SendSystemMsg(logger, groupId, []string{}, str); err != nil { -- 2.22.0