fix:【system】操作日志导出时,缺少 userName 字段,对应 https://gitee.com/yudaocode/yudao-boot-mini/issues/IDFZ4X

This commit is contained in:
YunaiV
2025-12-27 20:07:20 +08:00
parent 0cbced1cef
commit 36708447ff

View File

@@ -61,6 +61,7 @@ public class OperateLogController {
@Operation(summary = "导出操作日志")
@GetMapping("/export-excel")
@PreAuthorize("@ss.hasPermission('system:operate-log:export')")
@TransMethodResult
@ApiAccessLog(operateType = EXPORT)
public void exportOperateLog(HttpServletResponse response, @Valid OperateLogPageReqVO exportReqVO) throws IOException {
exportReqVO.setPageSize(PageParam.PAGE_SIZE_NONE);