Explorar el Código

fix:图表支持2022至今

Roc hace 3 años
padre
commit
c8cb6b9044
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      controller/chart/chart_info.go

+ 2 - 0
controller/chart/chart_info.go

@@ -116,6 +116,8 @@ func GetChartInfoDetail(c *gin.Context) {
 		startDate = "2019-01-01"
 	case 9:
 		startDate = "2020-01-01"
+	case 10:
+		startDate = "2022-01-01"
 	}
 
 	if chartType == 2 {