Commit e02d2e5b by zhengqiuyun86

初始化

parent 4c218b89
......@@ -100,7 +100,7 @@ func logEnd(c *gin.Context, data interface{}) {
}
}
token := GetToken(c)
if esSwitch && token != "" {
if esSwitch {
esLog(c, responseStr)
log.Info(fmt.Sprintf("结束,耗时%d毫秒", (endTime-startTime)/1e6))
} 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 to comment