mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🐞 fix: 修正部分问题
This commit is contained in:
parent
b28db0ccb3
commit
ff00eea22a
@ -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;
|
||||
|
BIN
img/example2.png
BIN
img/example2.png
Binary file not shown.
Before Width: | Height: | Size: 160 KiB After Width: | Height: | Size: 320 KiB |
Loading…
x
Reference in New Issue
Block a user