add test solution and try to fix get id code bug

This commit is contained in:
2025-04-15 20:09:34 +08:00
parent 5e2da17c28
commit e8ec4c2a86
10 changed files with 127 additions and 79 deletions

View File

@@ -478,7 +478,7 @@ namespace WebProtocol
{
if (bytes[0] != (byte)PackSign.RecvResp)
throw new ArgumentException(
"The sign of bytes is not RecvData Package!",
"The sign of bytes is not RecvResp Package!",
nameof(bytes)
);
return new RecvRespPackage(bytes[1], bytes[2]);