捐献等级
This commit is contained in:
@@ -28,8 +28,8 @@ export class DonationHandler {
|
||||
if (!userGuild)
|
||||
return resResult(STATUS.WRONG_PARMS);
|
||||
const { guildCode: code, donateCnt, receiveBoxs } = userGuild;
|
||||
let { donateFund, reports } = await getDonation(code, serverId);
|
||||
return resResult(STATUS.SUCCESS, { receiveBoxs, donateFund, reports, donateCnt:donateCnt||0 });
|
||||
let { donateFund, reports, donationLv } = await getDonation(code, serverId);
|
||||
return resResult(STATUS.SUCCESS, { receiveBoxs, donateFund, reports, donateCnt:donateCnt||0, donationLv});
|
||||
}
|
||||
|
||||
async donate(msg: {id: number}, session: BackendSession) {
|
||||
|
||||
Reference in New Issue
Block a user