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