diff --git a/context/context.go b/context/context.go index 3ba6635..1fc5b83 100644 --- a/context/context.go +++ b/context/context.go @@ -89,6 +89,6 @@ func generateConnectionID(flag string) string { flag, strings.ReplaceAll(util.IP.GetHostIP(), ".", ""), time.Now().Format("20060102150405"), - wrapper.String(fmt.Sprintf("%d", time.Now().UnixNano())+wrapper.StringFromRandom(64, "").Value()).Md5(), + wrapper.String(fmt.Sprintf("%d", time.Now().UnixNano())+wrapper.StringFromRandom(64, "").Value()).Md5().Value, ) }