添加输出
This commit is contained in:
@@ -67,7 +67,7 @@ let section = async (ctx, next) => {
|
||||
let picture = async (ctx, next) => {
|
||||
for (let i in reptilelist) {
|
||||
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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user