用户修改的逻辑放到service中

This commit is contained in:
2026-01-13 23:21:34 +08:00
parent 43578299bc
commit 1648e7caf1
2 changed files with 4 additions and 2 deletions

View File

@@ -179,8 +179,6 @@ public class SysUserController extends BaseController
{
return error("修改用户'" + user.getUserName() + "'失败,邮箱账号已存在");
}
user.setCvTemplateJson(JSONUtil.toJsonStr(user.getCvInfoDto()));
user.setWorkNatureJson(JSONUtil.toJsonStr(user.getWorkNatureDto()));
user.setUpdateBy(getUsername());
return toAjax(userService.updateUser(user));
}