This commit is contained in:
laodaming 2023-07-26 18:14:04 +08:00
parent 32e954ccc8
commit 9255a0073f

View File

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