Browse Source

优化天气服务缓存

develop
zhaoxianglong 9 months ago
parent
commit
8d02ac076e
  1. 2
      zc-business/src/main/java/com/zc/business/controller/WeatherForecastController.java

2
zc-business/src/main/java/com/zc/business/controller/WeatherForecastController.java

@ -273,7 +273,7 @@ public class WeatherForecastController extends BaseController {
logger.error(String.valueOf(ignored));
}
return AjaxResult.success(redisCache.getCacheObject("currentWeatherAndForecastInformation" + numStake));
return AjaxResult.error(UniversalEnum.REQUEST_FAILED.getValue());
}
public static int findNearestMultipleOfFive(int number) {

Loading…
Cancel
Save