升级引用库版本

This commit is contained in:
injoyai
2025-05-13 11:17:01 +08:00
parent 9bad0908b7
commit 1afa0c7c6d
3 changed files with 18 additions and 26 deletions

View File

@@ -3,7 +3,7 @@ package protocol
import (
"errors"
"fmt"
"github.com/injoyai/base/g"
"github.com/injoyai/base/types"
"github.com/injoyai/conv"
"time"
)
@@ -15,7 +15,7 @@ type KlineReq struct {
Count uint16
}
func (this *KlineReq) Bytes(Type uint8) (g.Bytes, error) {
func (this *KlineReq) Bytes(Type uint8) (types.Bytes, error) {
if this.Count > 800 {
return nil, errors.New("单次数量不能超过800")
}