Commit f7119a32 authored by hujiebin's avatar hujiebin

feat:去掉日志

parent 28de9962
...@@ -57,7 +57,7 @@ func SendSystemMsg(logger *logrus.Entry, groupId string, members []string, conte ...@@ -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 { 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 = logger.WithField("appId", appId).WithField("txGroupId", txGroupId)
logger.Infof("SendSystemMsg content: %s", content) //logger.Infof("SendSystemMsg content: %s", content)
beginTime := time.Now() beginTime := time.Now()
type BodyStruct struct { type BodyStruct struct {
......
...@@ -122,7 +122,7 @@ func SendSignalMsg(groupId string, msg GroupSystemMsg) { ...@@ -122,7 +122,7 @@ func SendSignalMsg(groupId string, msg GroupSystemMsg) {
buffer, err := json.Marshal(msg) buffer, err := json.Marshal(msg)
if err == nil { if err == nil {
str := string(buffer) 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) logger := mylogrus.MyLog.WithField("msgId", msg.MsgId)
if err = tencentyun.SendSystemMsg(logger, groupId, []string{}, str); err != nil { if err = tencentyun.SendSystemMsg(logger, groupId, []string{}, str); err != nil {
......
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