mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
减少方法名称长度,去掉固定前缀Stock
This commit is contained in:
@@ -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:]) {
|
||||
|
||||
Reference in New Issue
Block a user