Commit 925873b3 by huangchengyi

1.0

parent c8c02488
Showing with 1 additions and 6 deletions
......@@ -2,7 +2,6 @@ package common
import (
"encoding/json"
"fmt"
"github.com/gin-gonic/gin"
"github.com/gomodule/redigo/redis"
"github.com/ichunt2019/logger"
......@@ -55,11 +54,7 @@ func AnalyzeSearchError(ctx *gin.Context,code int, ip, errMsg, file, line, metho
if !strings.Contains(strings.ToUpper(errMsg), "SOAP-ERROR") {
go func() {
//推送到钉钉
result, err := message.DingDingPush(errMsg)
fmt.Print(result,err)
if err != nil || result.Errcode != 0 {
logger.Error("%s", err.Error())
}
message.DingDingPush(errMsg)
}()
}
} else {
......
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 sign in to comment