mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-19 09:52:21 +08:00
fix(route/caixin): Fix query (#13614)
This commit is contained in:
@@ -5,7 +5,8 @@ const { parseDate } = require('@/utils/parse-date');
|
||||
const { parseBlogArticle } = require('./utils');
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const { column, limit = 20 } = ctx.params;
|
||||
const { column } = ctx.params;
|
||||
const { limit = 20 } = ctx.query;
|
||||
if (!column) {
|
||||
const { data } = await got('https://blog.caixin.com/blog-api/post/index', {
|
||||
searchParams: {
|
||||
|
||||
Reference in New Issue
Block a user