mirror of
https://github.com/imsyy/DailyHotApi.git
synced 2026-01-12 13:14:55 +08:00
Merge pull request #72 from Kataick/fix-weibo-hot-field
fix(weibo): 修复微博热度字段
This commit is contained in:
4
src/router.types.d.ts
vendored
4
src/router.types.d.ts
vendored
@@ -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: {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user