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());