Skip to content

Commit

Permalink
增加热门话题
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhu188 committed Sep 8, 2019
1 parent e4edb09 commit e30a4aa
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/renderer/api/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,11 @@ export function subArtist ({t, id}) {
}
})
}

export function getHotTopic ({limit = 30, offset = 0}) {
return request.get('/hot/topic', {
params: {
limit, offset
}
})
}

0 comments on commit e30a4aa

Please sign in to comment.