Commit 56e88a3e authored by mx's avatar mx

bug

parent 88968a19
...@@ -296,6 +296,7 @@ public class SysUserController extends CyPaginationController<SysUser> { ...@@ -296,6 +296,7 @@ public class SysUserController extends CyPaginationController<SysUser> {
png_base64); png_base64);
} }
//图形验证码
@GetMapping({"/captchaImage"}) @GetMapping({"/captchaImage"})
public CyResult getCode(HttpServletResponse response) throws IOException { public CyResult getCode(HttpServletResponse response) throws IOException {
CyResult cyResult = new CyResult(); CyResult cyResult = new CyResult();
......
...@@ -298,7 +298,7 @@ public class VisitUserServiceImpl extends ServiceImpl<VisitUserRepository, Visit ...@@ -298,7 +298,7 @@ public class VisitUserServiceImpl extends ServiceImpl<VisitUserRepository, Visit
i++; i++;
if (sysUser.getName().length() >= 32) { if (sysUser.getName().length() >= 32) {
throw new CyServiceException(1008, "导入的数据第" + i + "行存在用户名格式错误,最大长度为32个字符,请重新输入"); throw new CyServiceException(1008, "用户名超出32个字符,请重新输入");
} }
//用户类型 //用户类型
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment