refactor(system): 扩展配置刷新接口支持 PATCH 方法
- 在 ConfigController 中更新 refreshCache 方法的映射 - 增加对 PUT 和 PATCH 方法的支持
This commit is contained in:
@@ -57,7 +57,7 @@ public class ConfigController {
|
||||
}
|
||||
|
||||
@Operation(summary = "刷新系统配置缓存")
|
||||
@PutMapping(value = "/refresh")
|
||||
@RequestMapping(value = "/refresh", method = {RequestMethod.PUT,RequestMethod.PATCH})
|
||||
@PreAuthorize("@ss.hasPerm('sys:config:refresh')")
|
||||
public Result<ConfigForm> refreshCache() {
|
||||
return Result.judge(configService.refreshCache());
|
||||
|
||||
Reference in New Issue
Block a user