瀏覽代碼

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

YunaiV 5 月之前
父節點
當前提交
36708447ff

+ 1 - 0
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/OperateLogController.java

@@ -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);