Skip to content

Commit

Permalink
Merge branch 'master' of github.com:imsyy/DailyHotApi
Browse files Browse the repository at this point in the history
  • Loading branch information
imsyy committed Jul 30, 2024
2 parents 7f54490 + 53c68a3 commit 3680225
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/router.types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ export type RouterType = {
word: string;
word_scheme: string;
note: string;
category: string;
raw_hot: number;
flag_desc: string;
num: number;
onboard_time: number;
};
zhihu: {
Expand Down
4 changes: 2 additions & 2 deletions src/routes/weibo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ const getList = async (noCache: boolean) => {
id: v.mid,
title: v.word,
desc: v.note || key,
author: v.category,
author: v.flag_desc,
timestamp: getTime(v.onboard_time),
hot: v.raw_hot,
hot: v.num,
url: `https://s.weibo.com/weibo?q=${encodeURIComponent(key)}&t=31&band_rank=1&Refer=top`,
mobileUrl: `https://s.weibo.com/weibo?q=${encodeURIComponent(
key,
Expand Down

0 comments on commit 3680225

Please sign in to comment.