🐞 fix: 修复米游社系列接口出错

This commit is contained in:
imsyy
2024-07-09 09:35:27 +08:00
parent f213d9810b
commit a742f9df78
5 changed files with 9 additions and 11 deletions

View File

@@ -44,9 +44,9 @@ const getList = async (options: Options, noCache: boolean) => {
title: data.subject,
desc: data.content,
cover: data.cover,
author: v.user.nickname,
author: v.user?.nickname || null,
timestamp: getTime(data.created_at),
hot: v.stat.view_num,
hot: data.view_status,
url: `https://www.miyoushe.com/sr/article/${data.post_id}`,
mobileUrl: `https://m.miyoushe.com/sr/#/article/${data.post_id}`,
};