mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-28 13:58:26 +08:00
9 lines
269 B
JavaScript
9 lines
269 B
JavaScript
const { processZxfkItems } = require('./util');
|
|
|
|
module.exports = async (ctx) => {
|
|
const { site = 'beijing' } = ctx.params;
|
|
const limit = ctx.query.limit ? parseInt(ctx.query.limit, 10) : 5;
|
|
|
|
ctx.state.data = await processZxfkItems(site, 'tsjy', limit);
|
|
};
|