From 9501dfe853c8b9f3e49da3372fccec5a4e972d3b Mon Sep 17 00:00:00 2001 From: erzhongxmu Date: Mon, 6 Feb 2023 21:08:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/zzjee/api/ApiController.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/com/zzjee/api/ApiController.java b/src/main/java/com/zzjee/api/ApiController.java index f13c04e0..94eaaf5c 100644 --- a/src/main/java/com/zzjee/api/ApiController.java +++ b/src/main/java/com/zzjee/api/ApiController.java @@ -358,9 +358,7 @@ public class ApiController { } TSUser user = userService.checkUserExits(tsBaseUser.getUserName(), tsBaseUser.getPassword()); if (user == null) { - D0.setErrorMsg("用户账号密码错误!"); - D0.setOK(false); - return ResultApi.error("获取TOKEN,账号密码错误[{}]!"); + return ResultApi.error("获取TOKEN,账号密码错误!"); } return ResultApi.OK(user); }