|
@@ -146,9 +146,9 @@ public class WeatherInfoServiceImpl extends ServiceImpl<WeatherInfoMapper, Weath
|
|
|
if (nums != null && Integer.parseInt(nums) <= 19000) {
|
|
|
weatherMap = YiKeYunApiUtils.getTodayWeatherByAdcode(area.getCity_code() + "000000");
|
|
|
}
|
|
|
- if (weatherMap == null) {
|
|
|
- weatherMap = BaiduApiUtil.getTodayWeather(area.getCity_code());
|
|
|
- }
|
|
|
+// if (weatherMap == null) {
|
|
|
+// weatherMap = BaiduApiUtil.getTodayWeather(area.getCity_code());
|
|
|
+// }
|
|
|
if (weatherMap != null) {
|
|
|
cachedWeatherMap.put(area.getCity_code(), weatherMap);
|
|
|
if (weatherMap.get("nums") != null) {
|