diff --git a/zc-business/src/main/java/com/zc/business/controller/WeatherForecastController.java b/zc-business/src/main/java/com/zc/business/controller/WeatherForecastController.java index 61716f07..54288104 100644 --- a/zc-business/src/main/java/com/zc/business/controller/WeatherForecastController.java +++ b/zc-business/src/main/java/com/zc/business/controller/WeatherForecastController.java @@ -265,7 +265,7 @@ public class WeatherForecastController extends BaseController { return AjaxResult.success(redisCache.getCacheObject("currentWeatherAndForecastInformation" + numStake)); } } else { - return AjaxResult.success(redisCache.getCacheObject("currentWeatherAndForecastInformation" + numStake)); + return AjaxResult.error(jsonResult.getInteger("code"), UniversalEnum.REQUEST_FAILED.getValue()); } } } catch (Exception ignored) {