Explorar o código

fix:图表支持22年至今

Roc %!s(int64=3) %!d(string=hai) anos
pai
achega
af22eac556
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      controllers/chart.go

+ 3 - 0
controllers/chart.go

@@ -118,6 +118,9 @@ func (this *ChartController) ChartInfoDetail() {
 		startDate = "2020-01-01"
 		//endDate = time.Now().Format(utils.FormatDate)
 		endDate = ""
+	case 10:
+		startDate = "2022-01-01"
+		endDate = ""
 	}
 
 	if chartType == 2 {