From 78e2ead79ca649dfb53e6a23035ca21ae6635c09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=B1=E7=BA=AF=E5=87=80?= <1113655791@qq.com> Date: Wed, 9 Apr 2025 23:18:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=88=86=E6=97=B6=E6=88=90?= =?UTF-8?q?=E4=BA=A4=E9=87=91=E9=A2=9D=E4=B8=8D=E5=87=86=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- protocol/model_history_minute.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/protocol/model_history_minute.go b/protocol/model_history_minute.go index c29288a..1bb1010 100644 --- a/protocol/model_history_minute.go +++ b/protocol/model_history_minute.go @@ -33,10 +33,10 @@ func (this historyMinute) Decode(bs []byte) (*MinuteResp, error) { Count: Uint16(bs[:2]), } - multiple := Price(1) - if bs[5] > 0x40 { - multiple = 10 - } + multiple := Price(1) * 10 + //if bs[5] > 0x40 { + //multiple = 10 + //} //2-4字节是啥? bs = bs[6:]