From e30a4aa13f8c552d6b89d0b0950fb011623a13ae Mon Sep 17 00:00:00 2001 From: xiaozhu188 <809057480@qq.com> Date: Sun, 8 Sep 2019 20:17:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=83=AD=E9=97=A8=E8=AF=9D?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/api/user.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/renderer/api/user.js b/src/renderer/api/user.js index f429382..32dc0ee 100644 --- a/src/renderer/api/user.js +++ b/src/renderer/api/user.js @@ -208,3 +208,11 @@ export function subArtist ({t, id}) { } }) } + +export function getHotTopic ({limit = 30, offset = 0}) { + return request.get('/hot/topic', { + params: { + limit, offset + } + }) +}