mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-10-07 14:17:28 +00:00
perf[protocol]: 优化缓存注解
This commit is contained in:
1 parent
e9551043ea
commit
f342811ec0
1 file changed
+7
@@ -37,4 +37,11 @@ public interface IPacket {
|
||||
return ProtocolManager.protocolId(this.getClass());
|
||||
}
|
||||
|
||||
/**
|
||||
* 协议是否需要验证session中的uid只对网关服有效
|
||||
* @return true 需要验证
|
||||
*/
|
||||
default boolean verificationUid() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user