fix(route): 修复 米游社官方公告 路由的接口错误 (#17461)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user