From 7bd372289db8d11ed79d9d9cc15b5276d0252053 Mon Sep 17 00:00:00 2001 From: 666liuchang <1165517598@qq.com> Date: Thu, 23 May 2024 09:16:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=8E=E5=8F=B0=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=91=98=E7=99=BB=E9=99=86=E5=A4=B1=E8=B4=A5=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/cn/travel/web/manager/LoginController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/cn/travel/web/manager/LoginController.java b/src/main/java/com/cn/travel/web/manager/LoginController.java index bcee958..503ffba 100644 --- a/src/main/java/com/cn/travel/web/manager/LoginController.java +++ b/src/main/java/com/cn/travel/web/manager/LoginController.java @@ -35,7 +35,7 @@ public class LoginController extends BaseController { try { Admin admin = adminService.login(userName, password); if (Tools.isEmpty(admin)){ - redirectAttributes.addFlashAttribute("message","用户名不存在或密码错误!"); + redirectAttributes.addFlashAttribute("message","管理员不存在或密码错误!"); return REDIRECT+"/login"; }else{ if (admin.getState() == 1) { -- Gitee