|
@@ -190,8 +190,8 @@ func GetFutureGoodChartInfoDetailFromUniqueCode(chartInfo *models.ChartInfo, key
|
|
|
|
|
|
// 图表的指标来源
|
|
|
sourceNameList, sourceNameEnList := data.GetEdbSourceByEdbInfoIdList(resp.EdbInfoList)
|
|
|
- resp.ChartInfo.ChartSource = strings.Join(sourceNameList, ",")
|
|
|
- resp.ChartInfo.ChartSourceEn = strings.Join(sourceNameEnList, ",")
|
|
|
+ chartInfo.ChartSource = strings.Join(sourceNameList, ",")
|
|
|
+ chartInfo.ChartSourceEn = strings.Join(sourceNameEnList, ",")
|
|
|
|
|
|
resp.ChartInfo = chartInfo
|
|
|
resp.EdbInfoList = edbList
|
|
@@ -371,8 +371,8 @@ func GetCorrelationChartInfoDetailFromUniqueCode(chartInfo *models.ChartInfo, ke
|
|
|
|
|
|
// 图表的指标来源
|
|
|
sourceNameList, sourceNameEnList := data.GetEdbSourceByEdbInfoIdList(resp.EdbInfoList)
|
|
|
- resp.ChartInfo.ChartSource = strings.Join(sourceNameList, ",")
|
|
|
- resp.ChartInfo.ChartSourceEn = strings.Join(sourceNameEnList, ",")
|
|
|
+ chartInfo.ChartSource = strings.Join(sourceNameList, ",")
|
|
|
+ chartInfo.ChartSourceEn = strings.Join(sourceNameEnList, ",")
|
|
|
|
|
|
correlationInfo := new(models.CorrelationInfo)
|
|
|
correlationInfo.LeadValue = correlationChart.LeadValue
|