Skip to content

Commit

Permalink
fansclub
Browse files Browse the repository at this point in the history
  • Loading branch information
simon300000 committed Mar 29, 2023
1 parent 5da8c8c commit 46f1618
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/api/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ module.exports = {
demand: ['getInfoByRoom'],
get: ({ getInfoByRoom }) => getInfoByRoom.data.anchor_info.live_info.score
},
fansclub: {
demand: ['getInfoByRoom'],
get: ({ getInfoByRoom }) => getInfoByRoom.data.anchor_info.medal_info.fansclub
},
areaRank: {
demand: ['rankdb'],
get: ({ rankdb }) => Number(rankdb.data.areaRank.rank.replace('>', ''))
Expand Down

0 comments on commit 46f1618

Please sign in to comment.