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