fix(系统设置): 修复系统用户导入时操作日志没有展示操作人的问题

--bug=1035091 --user=宋天阳 【系统设置】系统-导入用户-系统日志操作记录未显示操作人 https://www.tapd.cn/55049933/s/1458405
This commit is contained in:
song-tianyang 2024-02-01 16:29:43 +08:00 committed by f2c-ci-robot[bot]
parent 3bd1cc45f8
commit 6fa3e4ad0f
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ public class UserController {
@Operation(summary = "系统设置-系统-用户-导入用户")
@RequiresPermissions(PermissionConstants.SYSTEM_USER_IMPORT)
public UserImportResponse importUser(@RequestPart(value = "file", required = false) MultipartFile excelFile) {
return userService.importByExcel(excelFile, UserSource.LOCAL.name(), SessionUtils.getSessionId());
return userService.importByExcel(excelFile, UserSource.LOCAL.name(), SessionUtils.getUserId());
}
@PostMapping("/delete")