捐赠:添加锁

This commit is contained in:
luying
2022-05-06 16:51:54 +08:00
parent 58f2c98aec
commit 399057c947
4 changed files with 16 additions and 12 deletions

View File

@@ -61,7 +61,7 @@ export class DonationHandler {
const guildCode: string = session.get('guildCode');
let res: any = await lockData(serverId, DATA_NAME.DONATE, guildCode);// 锁定资金的增加
try {
if (!res) {
if (!!res.err) {
return resResult(STATUS.REDLOCK_ERR);
}