修改天气接口

This commit is contained in:
孙小云 2026-03-03 13:16:31 +08:00
parent 4a9f55a1b1
commit 03861e366d
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ public class WeatherDomainImpl implements IWeatherDomain {
private WeatherProperties weatherProperties; private WeatherProperties weatherProperties;
@Override @Override
@Cacheable(value = DeviceCacheConfig.WEATHER_CACHE, key = "#dockerDeviceIotId", unless = "#result == null") // @Cacheable(value = DeviceCacheConfig.WEATHER_CACHE, key = "#dockerDeviceIotId", unless = "#result == null")
public Weather weatherInfo(String lat, String lon, String dockerDeviceIotId) { public Weather weatherInfo(String lat, String lon, String dockerDeviceIotId) {
log.info("开始获取天气信息 - lat: {}, lon: {}", lat, lon); log.info("开始获取天气信息 - lat: {}, lon: {}", lat, lon);