修复了扑飞

This commit is contained in:
2020-12-18 15:41:25 +08:00
parent d80c21fcd8
commit 19ecee362a
3 changed files with 12 additions and 4 deletions

View File

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