From a0a388b51b06d2c6a8c33f2ee6db96d71142d65d Mon Sep 17 00:00:00 2001 From: aaro-n <45537680+aaro-n@users.noreply.github.com> Date: Wed, 22 Jul 2026 03:12:50 +0800 Subject: [PATCH] fix(route/xiaoyuzhou): add POST body to editor-pick/list request (#22759) * fix(route/xiaoyuzhou): add POST body to editor-pick/list request * docs: add back route metadata --- lib/routes/xiaoyuzhou/pickup.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/routes/xiaoyuzhou/pickup.ts b/lib/routes/xiaoyuzhou/pickup.ts index 44843a0630..c84883f499 100644 --- a/lib/routes/xiaoyuzhou/pickup.ts +++ b/lib/routes/xiaoyuzhou/pickup.ts @@ -42,6 +42,7 @@ const ProcessFeed = async () => { ...headers, 'x-jike-access-token': token_updated.data['x-jike-access-token'], }, + json: {}, }); const data = response.data.data; @@ -87,10 +88,15 @@ export const route: Route = { target: '', }, ], - name: 'Unknown', + name: '发现', + example: '/xiaoyuzhou', + categories: ['multimedia'], maintainers: ['prnake', 'Maecenas'], handler, url: 'xiaoyuzhoufm.com/', + description: `::: warning +小宇宙的 api 需要验证 \`x-jike-device-id\`、\`x-jike-access-token\` 和 \`x-jike-refresh-token\` 。必要时需要自行配置,具体见部署文档。 +:::`, }; async function handler() {