From 7ea07bc9454ff00a9d0e092c946954c2f97752f5 Mon Sep 17 00:00:00 2001 From: CaoMeiYouRen <40430746+CaoMeiYouRen@users.noreply.github.com> Date: Wed, 6 Nov 2024 00:33:21 +0800 Subject: [PATCH] =?UTF-8?q?fix(route):=20=E4=BF=AE=E5=A4=8D=20=E7=B1=B3?= =?UTF-8?q?=E6=B8=B8=E7=A4=BE=E5=AE=98=E6=96=B9=E5=85=AC=E5=91=8A=20?= =?UTF-8?q?=E8=B7=AF=E7=94=B1=E7=9A=84=E6=8E=A5=E5=8F=A3=E9=94=99=E8=AF=AF?= =?UTF-8?q?=20(#17461)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/routes/mihoyo/bbs/official.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/routes/mihoyo/bbs/official.ts b/lib/routes/mihoyo/bbs/official.ts index 2fd289ebf..63d5ac39a 100644 --- a/lib/routes/mihoyo/bbs/official.ts +++ b/lib/routes/mihoyo/bbs/official.ts @@ -53,12 +53,13 @@ class MiHoYoOfficialError extends Error { const getNewsList = async ({ gids, type, page_size, last_id }) => { const query = new URLSearchParams({ + client_type: '4', gids, type, page_size, last_id, }).toString(); - const url = `https://bbs-api.miyoushe.com/post/wapi/getNewsList?${query}`; + const url = `https://bbs-api-static.miyoushe.com/painter/wapi/getNewsList?${query}`; const response = await got({ method: 'get', url,