Commit 328c596d authored by hujiebin's avatar hujiebin

Update main.go

parent 3634d69e
......@@ -5,6 +5,7 @@ import (
"encoding/json"
"fmt"
"github.com/go-redis/redis/v8"
"hilo-micCenter/common/config"
"hilo-micCenter/common/dingding"
"hilo-micCenter/common/mylogrus"
"hilo-micCenter/common/redisCli"
......@@ -132,7 +133,9 @@ func SendSignalMsg(groupId string, msg GroupSystemMsg) {
mylogrus.MyLog.Errorf("cron micChangeSys SendSignalMsg send dingding fail%s", err.Error())
}
} else {
//mylogrus.MyLog.Infof("cron micChangeSys SendSignalMsg sync success for %s, msgId = %d, content:%v", groupId, msg.MsgId, str)
if !config.AppIsRelease() {
mylogrus.MyLog.Infof("cron micChangeSys SendSignalMsg sync success for %s, msgId = %d, content:%v", groupId, msg.MsgId, str)
}
}
} else {
mylogrus.MyLog.Errorf("cron micChangeSys SendSignalMsg failure, msgId = %d : %s , msg:%+v", msg.MsgId, err.Error(), msg)
......
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