只允许一个登录

This commit is contained in:
牛叉闪闪 2024-07-12 15:01:37 +08:00
parent 36e8aeaaa0
commit 01f85e2d8e
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,8 @@ public class LoginService {
return Result.fail(CodeEnum.PARAM);
}
if (ObjectUtil.isEmpty(loginReq.getSerialNumber())) {
return Result.fail(CodeEnum.SERIALNUMBER);
}