重新定义接口

This commit is contained in:
injoyai
2025-11-17 15:48:57 +08:00
parent b2a4c00253
commit fc04b5042a
4 changed files with 5 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ func (this *PullKlineMysql) Run(ctx context.Context, m *tdx.Manage) error {
//1. 获取所有股票代码
codes := this.Config.Codes
if len(codes) == 0 {
codes = m.Codes.GetStocks()
codes = m.Codes.GetStockCodes()
}
for _, v := range codes {

View File

@@ -110,7 +110,7 @@ func (this *PullKline) Run(ctx context.Context, m *tdx.Manage) error {
//1. 获取所有股票代码
codes := this.Config.Codes
if len(codes) == 0 {
codes = m.Codes.GetStocks()
codes = m.Codes.GetStockCodes()
}
for _, v := range codes {