mirror of
https://github.com/bensema/gotdx.git
synced 2025-11-21 02:45:33 +08:00
新增options来配置
This commit is contained in:
@@ -3,7 +3,6 @@ package proto
|
||||
import (
|
||||
"bytes"
|
||||
"encoding/binary"
|
||||
"github.com/bensema/gotdx/util"
|
||||
)
|
||||
|
||||
type GetSecurityList struct {
|
||||
@@ -88,7 +87,7 @@ func (obj *GetSecurityList) UnSerialize(header interface{}, data []byte) error {
|
||||
binary.Read(bytes.NewBuffer(data[pos:pos+8]), binary.LittleEndian, &name)
|
||||
pos += 8
|
||||
|
||||
ele.Name = util.Utf8ToGbk(name[:])
|
||||
ele.Name = Utf8ToGbk(name[:])
|
||||
|
||||
pos += 4
|
||||
binary.Read(bytes.NewBuffer(data[pos:pos+1]), binary.LittleEndian, &ele.DecimalPoint)
|
||||
|
||||
Reference in New Issue
Block a user