添加输出

This commit is contained in:
pplok 2020-01-18 17:12:47 +08:00
parent ecfaebc963
commit cd79065a17
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ let getscript = async (url) => {
// let upurl = pageUrl.replace("https://www.gufengmh8.com","") + prevChapterData.id + ".html" // let upurl = pageUrl.replace("https://www.gufengmh8.com","") + prevChapterData.id + ".html"
list = { imghost, chapterPath, chapterImages} list = { imghost, chapterPath, chapterImages}
if(list){ if(list){
console.log(list) // console.log(list)
return list; return list;

View File

@ -67,7 +67,7 @@ let section = async (ctx, next) => {
let picture = async (ctx, next) => { let picture = async (ctx, next) => {
for (let i in reptilelist) { for (let i in reptilelist) {
if (ctx.query.name == reptilelist[i].name) { if (ctx.query.name == reptilelist[i].name) {
// console.log(await reptilelist[i].imglist(ctx.query.url)) console.log(await reptilelist[i].imglist(ctx.query.url))
ctx.body = await reptilelist[i].imglist(ctx.query.url) ctx.body = await reptilelist[i].imglist(ctx.query.url)
} }
} }