diff --git a/controller/report.go b/controller/report.go index 315bf79..5456d12 100644 --- a/controller/report.go +++ b/controller/report.go @@ -188,7 +188,7 @@ func testCalculateReportSummary(c *gin.Context) { } summary.CalculatePrices() calcResults := tools.ConvertStructToMap(summary) - result.Json(http.StatusOK, "已完成园区概况的试计算。", gin.H{"result": lo.PickByKeys(calcResults, []string{"overallPrice", "criticalPrice", "peakPrice", "flat", "flatFee", "flatPrice", "valleyPrice"})}) + result.Json(http.StatusOK, "已完成园区概况的试计算。", gin.H{"result": lo.PickByKeys(calcResults, []string{"overallPrice", "criticalPrice", "peakPrice", "flat", "flatFee", "flatPrice", "valleyPrice", "consumptionFee"})}) } func progressReportSummary(c *gin.Context) {