🐞 fix: 修正部分问题

This commit is contained in:
zhiyu1998 2023-02-23 15:15:56 +08:00
parent b28db0ccb3
commit ff00eea22a
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ export class daily extends plugin {
async function pushDailyWorld(e) {
// 每天60秒读懂世界接口地址
const url = await fetch("https://api.vvhan.com/api/60s?type=json").catch(err =>
logger.error(err)
console.error(err)
);
const imgUrl = await url.json();
const res = await imgUrl.imgUrl;
@ -80,7 +80,7 @@ async function pushDailyWorld(e) {
async function pushTouchFish(e) {
const url = await fetch("https://api.vvhan.com/api/moyu?type=json").catch(err =>
logger.error(err)
console.error(err)
);
const imgUrl = await url.json();
const res = await imgUrl.url;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 KiB

After

Width:  |  Height:  |  Size: 320 KiB