当天天气(自动定位)
<h5>简要描述</h5>
<ul>
<li>无</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>https://api.vvhan.com/api/weather</code> </li>
</ul>
<h5>请求方式</h5>
<ul>
<li>get</li>
</ul>
<h5>成功返回示例</h5>
<pre><code>{
"success": true,
"city": "南宁",
"info": {
"date": "2日星期一",
"type": "多云",
"high": "高温 27℃",
"low": "低温 15℃",
"fengxiang": "北风",
"fengli": "3级",
"tip": "感冒易发期,外出请适当调整衣物,注意补充水分。"
}
}
</code></pre>
<h5>备注</h5>
<p>请求示例:<a href="https://api.vvhan.com/api/weather">https://api.vvhan.com/api/weather</a></p>