@@ -2,6 +2,7 @@
/log
latest_log
/config/config.yaml
+/config/config_release.yaml
.DS_Store
go.sum
/binlog
@@ -110,6 +110,10 @@ func GetChartInfoDetail(c *gin.Context) {
} else {
startDate = startDate + "-01"
}
+ //兼容日期数据为2022-09的错误
+ if strings.Count(startDate, "-") == 1 {
+ startDate = startDate + "-01"
+ }
case 7:
startDate = "2018-01-01"
case 8: