From f3e1506f2fc73bbe3adffcf3f171b70eba71854e Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Wed, 5 Mar 2025 22:26:30 +0800 Subject: [PATCH] Get chagnes to GetCandles --- rest/rest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest/rest.go b/rest/rest.go index 867cfec..e22d9a0 100644 --- a/rest/rest.go +++ b/rest/rest.go @@ -158,7 +158,7 @@ func (this *RESTAPI) SetTimeOut(timeout time.Duration) *RESTAPI { } // GetCandles 获取蜡烛图数据 -func (this *RESTAPI) GetCandles(ctx context.Context, uri string, param *map[string]interface{}) (res *RESTAPIResult, err error) { +func (this *RESTAPI) GetCandles(ctx context.Context, uri string, param *map[string]interface{}) (res ResponseData, err error) { this.Method = GET this.Uri = uri