拉黑限制

This commit is contained in:
GYJ
2025-02-25 20:21:17 +08:00
parent f38ea13960
commit f4787bd7cb
3 changed files with 11 additions and 1 deletions

View File

@@ -553,6 +553,9 @@ public class CashOutServiceImpl extends ServiceImpl<CashOutDao, CashOut> impleme
if (userInfo.getStatus().equals(0)) {
return Result.error(9999, "账号不存在!");
}
if (!userInfo.getStatus().equals(1)) {
throw new SqxException("账号已被禁用,请联系客服处理!");
}
UserInfo userDetailInfo = userInfoService.getOne(new LambdaQueryWrapper<UserInfo>().eq(UserInfo::getUserId, userId));
if (userDetailInfo == null || StrUtil.isBlank(userDetailInfo.getCertName())) {