【8.0.1】【system】更新日志记录

pull/57/head
fengshuonan 2023-10-09 18:39:59 +08:00
parent d770ca6345
commit 3cf49bb24a
1 changed files with 2 additions and 2 deletions

View File

@ -158,9 +158,9 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
@Override
public void edit(SysUserRequest sysUserRequest) {
BusinessLogUtil.setLogTitle("更新用户信息,用户账号:" + sysUserRequest.getAccount());
SysUser sysUser = this.querySysUser(sysUserRequest);
BusinessLogUtil.setLogTitle("更新用户信息,用户账号:" + sysUser.getAccount());
BusinessLogUtil.addContent("原始用户信息如下:\n", sysUser);
// 不能修改admin账号的超级管理员标识和账号