This commit is contained in:
@@ -31,7 +31,7 @@ func (l *MAIN_LOGIN_IN) CheakSession() (bool, uint32) {
|
||||
return false, 0
|
||||
}
|
||||
crc32Table := crc32.MakeTable(crc32.IEEE)
|
||||
crcValue := crc32.Checksum([]byte(t1), crc32Table)
|
||||
crcValue := crc32.Checksum([]byte(l.Sid), crc32Table)
|
||||
cool.CacheManager.Remove(context.Background(), fmt.Sprintf("session:%d", l.Head.UserID))
|
||||
//glog.Debug(context.Background(), "后端获取", t1, err)
|
||||
return true, crcValue
|
||||
|
||||
Reference in New Issue
Block a user