This commit is contained in:
laodaming 2023-07-27 14:31:53 +08:00
parent c375d17c07
commit 55a879ada8

View File

@ -92,7 +92,7 @@ func (l *DataTransferLogic) DataTransfer(svcCtx *svc.ServiceContext, w http.Resp
return
}*/
//生成连接唯一标识
flag := uuid.New().String() + "<date=" + time.Now().Format("2006-01-02-15-04-05") + ">"
flag := uuid.New().String() + "time=" + time.Now().Format("15-04-05")
ws := wsConnectItem{
conn: conn,
flag: flag,