fix 用户管理导入

This commit is contained in:
renzexin 2024-08-22 16:49:11 +08:00
parent 73fa91c11f
commit c4e6f8fcf2
1 changed files with 6 additions and 2 deletions

View File

@ -386,12 +386,16 @@ public class UserController {
System.out.println(sysUser);
//存库
if(StringUtils.isNotEmpty(sysUser.getPassword())&&StringUtils.isNotEmpty(sysUser.getUsername())){
save(sysUser);
}else if (StringUtils.isEmpty(sysUser.getPassword())||StringUtils.isEmpty(sysUser.getUsername())){
log.error("用户名密码不能为空");
}
}
} catch (IOException e) {
throw new RuntimeException(e);
}
return AjaxResult.success();
return AjaxResult.success("导入成功");
}
/**