src/main/java/com/yssh/controller/WeatherController.java
@@ -1,5 +1,6 @@ package com.yssh.controller; import com.yssh.config.InitConfig; import com.yssh.entity.Weather; import com.yssh.service.WeatherService; import com.yssh.utils.CacheUtils; @@ -48,7 +49,7 @@ begin = dateFormat.format(calendar.getTime()); } if (null == end) { end = dateFormat.format(new Date()); end = dateFormat.format(InitConfig.getDate()); } //List<Weather> list = weatherService.query(begin, end);