修复cid生成异常问题
This commit is contained in:
parent
031c245046
commit
85feada512
@ -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,
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user