|
|
@ -3342,7 +3342,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
throw new InvalidShortIdException();
|
|
|
|
throw new InvalidShortIdException();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (!(ManagerRole.ADMIN.hasRole(account.getIntValue("role")) || ManagerRole.OPERATOR.hasRole(account.getIntValue("role")))) {
|
|
|
|
if (!(ManagerRole.ADMIN.hasRole(account.getIntValue("role")) || ManagerRole.OPERATOR.hasRole(account.getIntValue("role")) || ManagerRole.FINANCIAL_STAFF.hasRole(account.getIntValue("role")))) {
|
|
|
|
throw new ForbiddenException("无法增加充值记录,权限不足");
|
|
|
|
throw new ForbiddenException("无法增加充值记录,权限不足");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!locker.lock(clientMoniker + "_surcharge_account_save", 120_000)) {
|
|
|
|
if (!locker.lock(clientMoniker + "_surcharge_account_save", 120_000)) {
|
|
|
|