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: string;
|
||||||
word_scheme: string;
|
word_scheme: string;
|
||||||
note: string;
|
note: string;
|
||||||
category: string;
|
flag_desc: string;
|
||||||
raw_hot: number;
|
num: number;
|
||||||
onboard_time: number;
|
onboard_time: number;
|
||||||
};
|
};
|
||||||
zhihu: {
|
zhihu: {
|
||||||
|
|||||||
@@ -32,9 +32,9 @@ const getList = async (noCache: boolean) => {
|
|||||||
id: v.mid,
|
id: v.mid,
|
||||||
title: v.word,
|
title: v.word,
|
||||||
desc: v.note || key,
|
desc: v.note || key,
|
||||||
author: v.category,
|
author: v.flag_desc,
|
||||||
timestamp: getTime(v.onboard_time),
|
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`,
|
url: `https://s.weibo.com/weibo?q=${encodeURIComponent(key)}&t=31&band_rank=1&Refer=top`,
|
||||||
mobileUrl: `https://s.weibo.com/weibo?q=${encodeURIComponent(
|
mobileUrl: `https://s.weibo.com/weibo?q=${encodeURIComponent(
|
||||||
key,
|
key,
|
||||||
|
|||||||
Reference in New Issue
Block a user