Explorar o código

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

Roc %!s(int64=3) %!d(string=hai) anos
pai
achega
3fc6f25177
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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: