connID to md5

test-errcode
wangchuxiao 2 years ago
parent 54a74c0b82
commit 0b1c198dfe

@ -73,4 +73,6 @@ func (w Writer) Printf(format string, args ...interface{}) {
s = append(s, fmt.Sprintf("%v", v))
}
log.ZDebug(context.Background(), format, "sql", strings.Join(s, ""))
fmt.Println(format)
fmt.Println(strings.Join(s, ""))
}

@ -40,7 +40,7 @@ func GetOperationID(ctx context.Context) string {
return f.OperationID
}
}
return utils.GetFuncName(2)
return utils.GetFuncName(3)
}
func GetOpUserID(ctx context.Context) string {

Loading…
Cancel
Save