捐赠:添加锁
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user