mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-19 14:51:52 +08:00
ef2e78f546
* fix(route): MM范 * fix: add radar * fix: use art-template
10 lines
280 B
JavaScript
10 lines
280 B
JavaScript
const { rootUrl, ProcessItems } = require('./utils');
|
|
|
|
module.exports = async (ctx) => {
|
|
const tab = ctx.params.tab ?? '最新';
|
|
|
|
const currentUrl = `${rootUrl}/home-ajax/index.html?tabcid=${tab}&page=1`;
|
|
|
|
ctx.state.data = await ProcessItems(ctx, tab, currentUrl);
|
|
};
|