CoderTonyChan
2019-01-29 17:24:32 +08:00
committed by DIYgod
parent 6ef8957e8f
commit e90f940ada
8 changed files with 122 additions and 30 deletions

View File

@@ -3,5 +3,5 @@ const { getPage } = require('./util');
module.exports = async (ctx) => {
const { sid } = ctx.params;
ctx.state.data = await getPage(`https://www.javbus.com/star/${sid}`);
ctx.state.data = await getPage(`https://www.javbus.com/star/${sid}`, ctx);
};