|
@@ -112,7 +112,7 @@ public class UtilServiceImpl implements UtilService {
|
|
|
loginFailedTime.put(userName, System.currentTimeMillis() / 1000);
|
|
|
throw new ApiRuntimeException(501, "账号或密码错误!");
|
|
|
}
|
|
|
- t = !optional.isPresent()?optional.get(): optional2.get();
|
|
|
+ t = optional.isPresent()?optional.get(): optional2.get();
|
|
|
if (null != t && !StringUtils.isEmpty(t.getId())) {
|
|
|
// 生成jwt token
|
|
|
Map<String, Object> map = new HashMap<>();
|