减少方法名称长度,去掉固定前缀Stock

This commit is contained in:
injoyai
2024-10-31 10:16:49 +08:00
parent fc604d1eff
commit c6e701af1b
27 changed files with 502 additions and 390 deletions

View File

@@ -84,7 +84,7 @@ func Decode(bs []byte) (*Response, error) {
}
if resp.Control&0x10 != 0x10 {
//return nil, fmt.Errorf("控制码不匹配,预期0x1c,得到0x%x", resp.Control)
return nil, fmt.Errorf("请求失败,请检查参数")
}
if int(resp.ZipLength) != len(bs[16:]) {