|
@@ -119,9 +119,13 @@ func GetChartInfoDetail(c *gin.Context) {
|
|
|
var seasonStartDate, seasonEndDate string
|
|
|
if reqSeasonStartDate == "" {
|
|
|
seasonStartDate = chartInfo.SeasonStartDate
|
|
|
+ } else {
|
|
|
+ seasonStartDate = reqSeasonStartDate
|
|
|
}
|
|
|
if reqSeasonEndDate == "" {
|
|
|
seasonEndDate = chartInfo.SeasonEndDate
|
|
|
+ } else {
|
|
|
+ seasonEndDate = reqSeasonEndDate
|
|
|
}
|
|
|
if seasonStartDate != "" {
|
|
|
startDate = seasonStartDate + "-01-01"
|