zwxi 9 months ago
parent
commit
2e72711779
2 changed files with 2 additions and 1 deletions
  1. 1 1
      models/data_manage/chart_info.go
  2. 1 0
      services/data/chart_info.go

+ 1 - 1
models/data_manage/chart_info.go

@@ -1571,7 +1571,7 @@ type SeasonRightAxisResp struct {
 type MaxMinLimitsResp struct {
 	List   []*MaxMinLimitsData `description:"自定义上下限列表"`
 	Color  string              `description:"颜色"`
-	Value  int                 `description:"上下限取值范围"`
+	Year  int                 `description:"上下限取值范围"`
 	Legend string              `description:"图例名称"`
 	IsShow bool                `description:"是否显示"`
 	IsAdd  bool                `description:"是否添加"`

+ 1 - 0
services/data/chart_info.go

@@ -3331,6 +3331,7 @@ func SeasonChartData(dataList []*data_manage.ChartEdbInfoMapping, seasonExtraCon
 			dataResp.MaxMinLimits.Legend = seasonConfig.MaxMinLimits.Legend
 			dataResp.MaxMinLimits.IsShow = seasonConfig.MaxMinLimits.IsShow
 			dataResp.MaxMinLimits.IsAdd = seasonConfig.MaxMinLimits.IsAdd
+			dataResp.MaxMinLimits.Year = seasonConfig.MaxMinLimits.Year
 		}
 
 		// 自定义同期均线