mirror of
https://github.com/bensema/gotdx.git
synced 2025-11-21 02:45:33 +08:00
security_list 修复 name字段
This commit is contained in:
@@ -88,7 +88,7 @@ func (obj *GetSecurityList) UnSerialize(header interface{}, data []byte) error {
|
||||
binary.Read(bytes.NewBuffer(data[pos:pos+8]), binary.LittleEndian, &name)
|
||||
pos += 8
|
||||
|
||||
ele.Code = util.Utf8ToGbk(name[:])
|
||||
ele.Name = util.Utf8ToGbk(name[:])
|
||||
|
||||
pos += 4
|
||||
binary.Read(bytes.NewBuffer(data[pos:pos+1]), binary.LittleEndian, &ele.DecimalPoint)
|
||||
|
||||
Reference in New Issue
Block a user