fix(route): 修复 米游社官方公告 路由的接口错误 (#17461)

This commit is contained in:
CaoMeiYouRen
2024-11-06 00:33:21 +08:00
committed by GitHub
parent 9dfeba7ae6
commit 7ea07bc945
+2 -1
View File
@@ -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,