活动:限时排行榜

This commit is contained in:
luying
2022-03-04 09:47:24 +08:00
parent d0eb46ece4
commit f099daf80b
27 changed files with 871 additions and 151 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ async function getModuleData(type: string, data: { role: RoleType, session: Fron
case 'donate':
if (hasGuild) {
const { guildCode: code, donateCnt, receiveBoxs } = userGuild;
let { donateFund, reports, donationLv } = await getDonation(code, serverId);
let { donateFund, reports, donationLv } = await getDonation(code, guild, serverId);
return { receiveBoxs, donateFund, reports, donateCnt: donateCnt || 0, donationLv };
}
case 'task':