增加pull-kline的mysql版本,待测试

This commit is contained in:
injoyai
2025-04-16 14:22:10 +08:00
parent b00f1b65d5
commit 7c8b4989f6
2 changed files with 149 additions and 1 deletions

View File

@@ -186,7 +186,7 @@ func (this *PullKline) pull(code string, lastDate int64, f func(code string, f f
}
type Kline struct {
Code string `json:"code" xorm:"-"` //代码
Code string `json:"code"` //代码
Date int64 `json:"date"` //时间节点 2006-01-02 15:00
Open protocol.Price `json:"open"` //开盘价
High protocol.Price `json:"high"` //最高价