| | |
| | | List<SysConfig> list = configService.selectConfigList(config);
|
| | | return getDataTable(list);
|
| | | }
|
| | | |
| | |
|
| | | @Log(title = "参数管理", businessType = BusinessType.EXPORT)
|
| | | @PreAuthorize("@ss.hasPermi('system:config:export')")
|
| | | @PostMapping("/export")
|
| | |
| | | {
|
| | | return toAjax(configService.deleteConfigByIds(configIds));
|
| | | }
|
| | |
|
| | | /**
|
| | | * 清空缓存
|
| | | */
|
| | | @PreAuthorize("@ss.hasPermi('system:config:remove')")
|
| | | @Log(title = "参数管理", businessType = BusinessType.CLEAN)
|
| | | @DeleteMapping("/clearCache")
|
| | | public AjaxResult clearCache()
|
| | | {
|
| | | configService.clearCache();
|
| | | return AjaxResult.success();
|
| | | }
|
| | | }
|