diff --git a/common/tencentyun/tencentyun.go b/common/tencentyun/tencentyun.go index d9a54be74c771db73678ad14fe49bc1379914721..0ede32e81817efe9b40ebd9057730c610cd8b28f 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 431e81375876bdcfdd5bc649e67d12119a9ad750..3594395b4cd63b4c87f72870136291f94f90fd9e 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 {