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
}
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 {
......
......@@ -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 {
......
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