Commit 16eb5191 by huangchengyi

1.0

parent d4e62561
Showing with 2 additions and 0 deletions
The file could not be displayed because it is too large.
......@@ -2,6 +2,7 @@ package common
import (
"encoding/json"
"fmt"
"github.com/gin-gonic/gin"
"github.com/gomodule/redigo/redis"
"github.com/ichunt2019/logger"
......@@ -55,6 +56,7 @@ func AnalyzeSearchError(ctx *gin.Context,code int, ip, errMsg, file, line, metho
go func() {
//推送到钉钉
result, err := message.DingDingPush(errMsg)
fmt.Print(result,err)
if err != nil || result.Errcode != 0 {
logger.Error("%s", err.Error())
}
......
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