Commit 0fbffdc1d38e820f220127eba23ee56d810cdf43

Authored by YunaiV
1 parent 03d3ebdf

reactor:统一导出的 url 都是 export-excel

yudao-module-infra/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/config/ConfigController.java
... ... @@ -101,7 +101,7 @@ public class ConfigController {
101 101 return success(ConfigConvert.INSTANCE.convertPage(page));
102 102 }
103 103  
104   - @GetMapping("/export")
  104 + @GetMapping("/export-excel")
105 105 @Operation(summary = "导出参数配置")
106 106 @PreAuthorize("@ss.hasPermission('infra:config:export')")
107 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 124 return success(productSpuService.getTabsCount());
125 125 }
126 126  
127   - @GetMapping("/export")
  127 + @GetMapping("/export-excel")
128 128 @Operation(summary = "导出商品")
129 129 @PreAuthorize("@ss.hasPermission('product:spu:export')")
130 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 91 return success(BeanUtils.toBean(pageResult, PostRespVO.class));
92 92 }
93 93  
94   - @GetMapping("/export")
  94 + @GetMapping("/export-excel")
95 95 @Operation(summary = "岗位管理")
96 96 @PreAuthorize("@ss.hasPermission('system:post:export')")
97 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 98 return success(BeanUtils.toBean(dictData, DictDataRespVO.class));
99 99 }
100 100  
101   - @GetMapping("/export")
  101 + @GetMapping("/export-excel")
102 102 @Operation(summary = "导出字典数据")
103 103 @PreAuthorize("@ss.hasPermission('system:dict:export')")
104 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 97 }
98 98  
99 99 @Operation(summary = "导出数据类型")
100   - @GetMapping("/export")
  100 + @GetMapping("/export-excel")
101 101 @PreAuthorize("@ss.hasPermission('system:dict:query')")
102 102 @ApiAccessLog(operateType = EXPORT)
103 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 44 return success(BeanUtils.toBean(pageResult, LoginLogRespVO.class));
45 45 }
46 46  
47   - @GetMapping("/export")
  47 + @GetMapping("/export-excel")
48 48 @Operation(summary = "导出登录日志 Excel")
49 49 @PreAuthorize("@ss.hasPermission('system:login-log:export')")
50 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 46 }
47 47  
48 48 @Operation(summary = "导出操作日志")
49   - @GetMapping("/export")
  49 + @GetMapping("/export-excel")
50 50 @PreAuthorize("@ss.hasPermission('system:operate-log:export')")
51 51 @ApiAccessLog(operateType = EXPORT)
52 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 136 return success(UserConvert.INSTANCE.convert(user, dept));
137 137 }
138 138  
139   - @GetMapping("/export")
  139 + @GetMapping("/export-excel")
140 140 @Operation(summary = "导出用户")
141 141 @PreAuthorize("@ss.hasPermission('system:user:export')")
142 142 @ApiAccessLog(operateType = EXPORT)
... ...