Commit 0fbffdc1d38e820f220127eba23ee56d810cdf43
1 parent
03d3ebdf
reactor:统一导出的 url 都是 export-excel
Showing
8 changed files
with
8 additions
and
8 deletions
yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/ConfigController.java
| @@ -101,7 +101,7 @@ public class ConfigController { | @@ -101,7 +101,7 @@ public class ConfigController { | ||
| 101 | return success(ConfigConvert.INSTANCE.convertPage(page)); | 101 | return success(ConfigConvert.INSTANCE.convertPage(page)); |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | - @GetMapping("/export") | 104 | + @GetMapping("/export-excel") |
| 105 | @Operation(summary = "导出参数配置") | 105 | @Operation(summary = "导出参数配置") |
| 106 | @PreAuthorize("@ss.hasPermission('infra:config:export')") | 106 | @PreAuthorize("@ss.hasPermission('infra:config:export')") |
| 107 | @ApiAccessLog(operateType = EXPORT) | 107 | @ApiAccessLog(operateType = EXPORT) |
yudao-module-mall/yudao-module-product/src/main/java/cn/iocoder/yudao/module/product/controller/admin/spu/ProductSpuController.java
| @@ -124,7 +124,7 @@ public class ProductSpuController { | @@ -124,7 +124,7 @@ public class ProductSpuController { | ||
| 124 | return success(productSpuService.getTabsCount()); | 124 | return success(productSpuService.getTabsCount()); |
| 125 | } | 125 | } |
| 126 | 126 | ||
| 127 | - @GetMapping("/export") | 127 | + @GetMapping("/export-excel") |
| 128 | @Operation(summary = "导出商品") | 128 | @Operation(summary = "导出商品") |
| 129 | @PreAuthorize("@ss.hasPermission('product:spu:export')") | 129 | @PreAuthorize("@ss.hasPermission('product:spu:export')") |
| 130 | @ApiAccessLog(operateType = EXPORT) | 130 | @ApiAccessLog(operateType = EXPORT) |
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dept/PostController.java
| @@ -91,7 +91,7 @@ public class PostController { | @@ -91,7 +91,7 @@ public class PostController { | ||
| 91 | return success(BeanUtils.toBean(pageResult, PostRespVO.class)); | 91 | return success(BeanUtils.toBean(pageResult, PostRespVO.class)); |
| 92 | } | 92 | } |
| 93 | 93 | ||
| 94 | - @GetMapping("/export") | 94 | + @GetMapping("/export-excel") |
| 95 | @Operation(summary = "岗位管理") | 95 | @Operation(summary = "岗位管理") |
| 96 | @PreAuthorize("@ss.hasPermission('system:post:export')") | 96 | @PreAuthorize("@ss.hasPermission('system:post:export')") |
| 97 | @ApiAccessLog(operateType = EXPORT) | 97 | @ApiAccessLog(operateType = EXPORT) |
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/DictDataController.java
| @@ -98,7 +98,7 @@ public class DictDataController { | @@ -98,7 +98,7 @@ public class DictDataController { | ||
| 98 | return success(BeanUtils.toBean(dictData, DictDataRespVO.class)); | 98 | return success(BeanUtils.toBean(dictData, DictDataRespVO.class)); |
| 99 | } | 99 | } |
| 100 | 100 | ||
| 101 | - @GetMapping("/export") | 101 | + @GetMapping("/export-excel") |
| 102 | @Operation(summary = "导出字典数据") | 102 | @Operation(summary = "导出字典数据") |
| 103 | @PreAuthorize("@ss.hasPermission('system:dict:export')") | 103 | @PreAuthorize("@ss.hasPermission('system:dict:export')") |
| 104 | @ApiAccessLog(operateType = EXPORT) | 104 | @ApiAccessLog(operateType = EXPORT) |
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/dict/DictTypeController.java
| @@ -97,7 +97,7 @@ public class DictTypeController { | @@ -97,7 +97,7 @@ public class DictTypeController { | ||
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | @Operation(summary = "导出数据类型") | 99 | @Operation(summary = "导出数据类型") |
| 100 | - @GetMapping("/export") | 100 | + @GetMapping("/export-excel") |
| 101 | @PreAuthorize("@ss.hasPermission('system:dict:query')") | 101 | @PreAuthorize("@ss.hasPermission('system:dict:query')") |
| 102 | @ApiAccessLog(operateType = EXPORT) | 102 | @ApiAccessLog(operateType = EXPORT) |
| 103 | public void export(HttpServletResponse response, @Valid DictTypePageReqVO exportReqVO) throws IOException { | 103 | public void export(HttpServletResponse response, @Valid DictTypePageReqVO exportReqVO) throws IOException { |
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/LoginLogController.java
| @@ -44,7 +44,7 @@ public class LoginLogController { | @@ -44,7 +44,7 @@ public class LoginLogController { | ||
| 44 | return success(BeanUtils.toBean(pageResult, LoginLogRespVO.class)); | 44 | return success(BeanUtils.toBean(pageResult, LoginLogRespVO.class)); |
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | - @GetMapping("/export") | 47 | + @GetMapping("/export-excel") |
| 48 | @Operation(summary = "导出登录日志 Excel") | 48 | @Operation(summary = "导出登录日志 Excel") |
| 49 | @PreAuthorize("@ss.hasPermission('system:login-log:export')") | 49 | @PreAuthorize("@ss.hasPermission('system:login-log:export')") |
| 50 | @ApiAccessLog(operateType = EXPORT) | 50 | @ApiAccessLog(operateType = EXPORT) |
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/logger/OperateLogController.java
| @@ -46,7 +46,7 @@ public class OperateLogController { | @@ -46,7 +46,7 @@ public class OperateLogController { | ||
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | @Operation(summary = "导出操作日志") | 48 | @Operation(summary = "导出操作日志") |
| 49 | - @GetMapping("/export") | 49 | + @GetMapping("/export-excel") |
| 50 | @PreAuthorize("@ss.hasPermission('system:operate-log:export')") | 50 | @PreAuthorize("@ss.hasPermission('system:operate-log:export')") |
| 51 | @ApiAccessLog(operateType = EXPORT) | 51 | @ApiAccessLog(operateType = EXPORT) |
| 52 | public void exportOperateLog(HttpServletResponse response, @Valid OperateLogPageReqVO exportReqVO) throws IOException { | 52 | public void exportOperateLog(HttpServletResponse response, @Valid OperateLogPageReqVO exportReqVO) throws IOException { |
yudao-module-system/src/main/java/cn/iocoder/yudao/module/system/controller/admin/user/UserController.java
| @@ -136,7 +136,7 @@ public class UserController { | @@ -136,7 +136,7 @@ public class UserController { | ||
| 136 | return success(UserConvert.INSTANCE.convert(user, dept)); | 136 | return success(UserConvert.INSTANCE.convert(user, dept)); |
| 137 | } | 137 | } |
| 138 | 138 | ||
| 139 | - @GetMapping("/export") | 139 | + @GetMapping("/export-excel") |
| 140 | @Operation(summary = "导出用户") | 140 | @Operation(summary = "导出用户") |
| 141 | @PreAuthorize("@ss.hasPermission('system:user:export')") | 141 | @PreAuthorize("@ss.hasPermission('system:user:export')") |
| 142 | @ApiAccessLog(operateType = EXPORT) | 142 | @ApiAccessLog(operateType = EXPORT) |