天气缓存
This commit is contained in:
parent
03861e366d
commit
8f86e92fcc
|
|
@ -25,7 +25,7 @@ public class WeatherDomainImpl implements IWeatherDomain {
|
|||
private WeatherProperties weatherProperties;
|
||||
|
||||
@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) {
|
||||
log.info("开始获取天气信息 - lat: {}, lon: {}", lat, lon);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue