|
|
@@ -276,7 +276,7 @@ func GetEggCoreDataList(c *gin.Context) { |
|
|
|
// @Produce json |
|
|
|
// @param Authorization header string true "验证参数Bearer和token空格拼接" |
|
|
|
// @Param kind query string false "1:按天 2:按小时 3:按周" |
|
|
|
// @Success 200 {object} map[string]interface{} "具体数据" |
|
|
|
// @Success 200 {object} md.GetPriceCurveResp "具体数据" |
|
|
|
// @Failure 400 {object} md.Response "具体错误" |
|
|
|
// @Router /api/institutionalManagement/eggEnergy/globalData/pointsCenterPriceCurve [get] |
|
|
|
func GetPriceCurve(c *gin.Context) { |
|
|
@@ -347,9 +347,9 @@ func GetPriceCurve(c *gin.Context) { |
|
|
|
break |
|
|
|
} |
|
|
|
|
|
|
|
e.OutSuc(c, map[string]interface{}{ |
|
|
|
"yData": yData, |
|
|
|
"xData": xData, |
|
|
|
e.OutSuc(c, md.GetPriceCurveResp{ |
|
|
|
YData: yData, |
|
|
|
XData: xData, |
|
|
|
}, nil) |
|
|
|
return |
|
|
|
} |
|
|
|