Fix 天气api

This commit is contained in:
底层用户 2022-03-14 10:41:34 +08:00
parent 0fc2ad45a4
commit 6a5920ce3f

View File

@ -89,7 +89,7 @@ fetch('https://v1.hitokoto.cn?max_length=24')
.catch(console.error) .catch(console.error)
//获取天气 //获取天气
fetch('https://www.yiketianqi.com/free/day?appid=43986679&appsecret=TksqGZT7&unescape=1') fetch('https://www.yiketianqi.com/free/day?appid=47343665&appsecret=dABM2QxS&unescape=1')
.then(response => response.json()) .then(response => response.json())
.then(data => { .then(data => {
$('#wea_text').text(data.wea) $('#wea_text').text(data.wea)