From 7819e3b143edacc630120c24fa7e1fcf42c57ee9 Mon Sep 17 00:00:00 2001 From: Wxitao <470924071@qq.com> Date: Wed, 8 Jul 2020 09:51:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=AA=8C=E8=AF=81=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../renren/modules/sys/controller/SysLoginController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/module-core/src/main/java/io/renren/modules/sys/controller/SysLoginController.java b/module-core/src/main/java/io/renren/modules/sys/controller/SysLoginController.java index bb09155..725339e 100644 --- a/module-core/src/main/java/io/renren/modules/sys/controller/SysLoginController.java +++ b/module-core/src/main/java/io/renren/modules/sys/controller/SysLoginController.java @@ -64,10 +64,10 @@ public class SysLoginController extends AbstractController { */ @PostMapping("/sys/login") public Map login(@RequestBody SysLoginForm form)throws IOException { - boolean captcha = sysCaptchaService.validate(form.getUuid(), form.getCaptcha()); - if(!captcha){ - return R.error("验证码不正确"); - } +// boolean captcha = sysCaptchaService.validate(form.getUuid(), form.getCaptcha()); +// if(!captcha){ +// return R.error("验证码不正确"); +// } //用户信息 SysUserEntity user = sysUserService.queryByUserName(form.getUsername());