This commit is contained in:
aozhiwei 2024-05-09 17:51:05 +08:00
parent d4433dc0ff
commit 3ec5583dc5

View File

@ -33,7 +33,7 @@ func New[T any](cb func(*T)) *T {
return obj return obj
} }
func ExtractRegisterTimeFromSessionid(sessionId string) int32 { func ExtractRegisterTimeFromSessionId(sessionId string) int32 {
strList := q5.StrSplit(sessionId, "_") strList := q5.StrSplit(sessionId, "_")
if len(strList) < 4 { if len(strList) < 4 {
return 0 return 0