From 0cb2cb91e201c1aa2382b7d2a9114c2f8aa9e7b2 Mon Sep 17 00:00:00 2001 From: wkeyuan Date: Mon, 27 Dec 2021 14:46:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E7=99=BB=E5=BD=95=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E6=97=B6=E7=9A=84=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=EF=BC=8C=E4=BE=BF=E4=BA=8E=E6=8E=92=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../diaowen/common/base/controller/SecurityController.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/net/diaowen/common/base/controller/SecurityController.java b/src/main/java/net/diaowen/common/base/controller/SecurityController.java index a784a77..cb3f288 100644 --- a/src/main/java/net/diaowen/common/base/controller/SecurityController.java +++ b/src/main/java/net/diaowen/common/base/controller/SecurityController.java @@ -101,7 +101,11 @@ public class SecurityController { // ExcessiveAttemptsException超过登录次数 error = "超过登录次数限制"; } + }else{ + error = "未找到userName对应用户"; } + }else{ + error = "登录名userName不能为空"; } }catch (Exception e) { e.printStackTrace();