From 6b0ce1eaecb2f390782b0c2da5dd7792f29e86c4 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Tue, 26 Jul 2022 15:57:44 +0800 Subject: [PATCH] =?UTF-8?q?perf(=E7=B3=BB=E7=BB=9F=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=94=A8=E6=88=B7=E6=97=B6=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E8=BF=87=E6=BB=A4=E8=B4=A6=E5=8F=B7=E5=BC=80=E5=A4=B4=E7=BB=93?= =?UTF-8?q?=E5=B0=BE=E7=A9=BA=E5=AD=97=E7=AC=A6=E4=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/io/dataease/service/sys/SysUserService.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main/java/io/dataease/service/sys/SysUserService.java b/backend/src/main/java/io/dataease/service/sys/SysUserService.java index 3b0eaf57b2..ef35534000 100644 --- a/backend/src/main/java/io/dataease/service/sys/SysUserService.java +++ b/backend/src/main/java/io/dataease/service/sys/SysUserService.java @@ -73,6 +73,7 @@ public class SysUserService { @Transactional public int save(SysUserCreateRequest request) { + request.setUsername(request.getUsername().trim()); checkUsername(request); checkEmail(request); checkNickName(request);