bug
This commit is contained in:
parent
044cf386d5
commit
ee9fd4904b
@ -108,11 +108,11 @@ public class BackendLoginController extends BaseController {
|
|||||||
LambdaQueryWrapper<TAccount> queryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<TAccount> queryWrapper = new LambdaQueryWrapper<>();
|
||||||
queryWrapper.eq(TAccount::getAccountName, accountName);
|
queryWrapper.eq(TAccount::getAccountName, accountName);
|
||||||
TAccount one = accountService.getOne(queryWrapper);
|
TAccount one = accountService.getOne(queryWrapper);
|
||||||
if (ObjectUtils.isNotEmpty(one) && one.getOwnerId().toString().equals("2") ||one.getOwnerId().toString().equals("1") ){
|
if (ObjectUtils.isNotEmpty(one) && ObjectUtils.isNotEmpty(one.getOwnerId()) && one.getOwnerId().toString().equals("2")
|
||||||
|
||ObjectUtils.isNotEmpty(one) && ObjectUtils.isNotEmpty(one.getOwnerId()) && one.getOwnerId().toString().equals("1") ){
|
||||||
return getFailureResult(201,"请登录终台端!");
|
return getFailureResult(201,"请登录终台端!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Boolean captchaVerify = captchaService.checkCodeByUuid(captchaCode, uuid);
|
Boolean captchaVerify = captchaService.checkCodeByUuid(captchaCode, uuid);
|
||||||
if (!captchaVerify) {
|
if (!captchaVerify) {
|
||||||
return getFailureResult(201,"图形验证码有误");
|
return getFailureResult(201,"图形验证码有误");
|
||||||
|
Loading…
Reference in New Issue
Block a user