فهرست منبع

fix:图表支持2022至今

Roc 2 سال پیش
والد
کامیت
c8cb6b9044
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  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 {