验证码放开
This commit is contained in:
parent
9e31dcdad1
commit
828489cac3
|
|
@ -70,10 +70,10 @@ public class AuthorizationServiceImpl implements AuthorizationService {
|
|||
|
||||
@Override
|
||||
public LoginVO login(SysLoginDTO loginDTO) {
|
||||
// Object code = redisService.get(RedisCst.LOGIN_CODE + loginDTO.uuid());
|
||||
// if (!"666666".equals(loginDTO.code()) && code == null || !code.equals(loginDTO.code())) {
|
||||
// throw new ApiNotPrintException("验证码错误");
|
||||
// }
|
||||
Object code = redisService.get(RedisCst.LOGIN_CODE + loginDTO.uuid());
|
||||
if (!"666666".equals(loginDTO.code()) && code == null || !code.equals(loginDTO.code())) {
|
||||
throw new ApiNotPrintException("验证码错误");
|
||||
}
|
||||
|
||||
SysUser user;
|
||||
// 员工账号登录
|
||||
|
|
|
|||
Loading…
Reference in New Issue