擅长:python、mysql、java
<p>这是我的API调用,不是我传递的示例(抱歉搞错了):</p>
<pre><code> 'list': [{'dt': 1571335200,
'main': {'temp': 16.04,
'temp_min': 16.04,
'temp_max': 16.84,
'pressure': 1016,
'sea_level': 1016,
'grnd_level': 997.149,
'humidity': 87,
'temp_kf': -0.81},
'weather': [{'id': 500,
'main': 'Rain',
'description': 'light rain',
'icon': '10n'}],
'clouds': {'all': 96},
'wind': {'speed': 2.122, 'deg': 308.301},
'rain': {'3h': 0.563},
'sys': {'pod': 'n'},
'dt_txt': '2019-10-17 18:00:00'},
{'dt': 1571346000,
'main': {'temp': 15.74,
'temp_min': 15.74,
'temp_max': 16.35,
'pressure': 1018,
'sea_level': 1018,
'grnd_level': 998.455,
'humidity': 83,
'temp_kf': -0.61},
'weather': [{'id': 804,
'main': 'Clouds',
'description': 'overcast clouds',
'icon': '04n'}],
'clouds': {'all': 97},
'wind': {'speed': 2.292, 'deg': 325.325},
'sys': {'pod': 'n'},
'dt_txt': '2019-10-17 21:00:00'}
</code></pre>
<p>2019-10-17 18:00:00有雨,21:00:00无雨,项目有雨</p>
<p>有人有办法解决这个问题并避免错误吗</p>