许愿池
This commit is contained in:
@@ -29,7 +29,7 @@ export class DonationHandler {
|
||||
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 });
|
||||
return resResult(STATUS.SUCCESS, { receiveBoxs, donateFund, reports, donateCnt:donateCnt||0 });
|
||||
}
|
||||
|
||||
async donate(msg: {id: number}, session: BackendSession) {
|
||||
|
||||
Reference in New Issue
Block a user