Fix: ACGM API Bug

补上缺少的参数,增加缓存的字段(番名),修复初始化代码
This commit is contained in:
2022-04-14 01:06:27 +08:00
parent 46a5db6f4b
commit 4d9788ac01
4 changed files with 95 additions and 15 deletions
+6 -2
View File
@@ -49,8 +49,12 @@ function Bing() {
// 返回的是:
{
"link":"https://cn.bing.com/th?id=OHR.QatarMuseum_EN-US2624327100_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
"copyright":"National Museum of Qatar in Doha, Qatar (© Hasan Zaidi/Shutterstock)",
"code": 1,
"msg": "Success",
"data": {
"url": "https://cn.bing.com/th?id=OHR.Mitsumata_ZH-CN9794271032_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
"copyright": "森林中的结香花,日本 (© nattya3714/Getty Images)"
}
}`}</code></pre>
<p>在网页背景上使用本 API</p>
<pre className="language-css"><code>{`body{