删除多余打印

This commit is contained in:
linwenxiang committed 2021-02-05 10:24:11 +08:00
1 parent f67e653abe
commit 7ce090af38
1 file changed
-1
-1
View File
@@ -58,7 +58,6 @@ func HasError(err error, msg string, code ...int) {
func GenerateMsgIDFromContext(c *gin.Context) string {
requestId := c.GetHeader(TrafficKey)
if requestId == "" {
fmt.Println("no", requestId)
c.Header(TrafficKey, requestId)
}
return requestId