Browse Source

fix:dateType为4调整为2021至今的数据

Roc 3 years ago
parent
commit
3fc6f25177
1 changed files with 1 additions and 0 deletions
  1. 1 0
      controllers/chart.go

+ 1 - 0
controllers/chart.go

@@ -96,6 +96,7 @@ func (this *ChartController) ChartInfoDetail() {
 		endDate =""
 	case 4:
 		startDate = strconv.Itoa(time.Now().Year()) + "-01-01"
+		startDate = "2021-01-01"
 		//endDate = time.Now().Format(utils.FormatDate)
 		endDate =""
 	case 5: