- 将 ConfigController 中的 refreshCache 方法和 NoticeController 中的 publishNotice 和 revokeNotice 方法的注解从 @RequestMapping 修改为 @PutMapping - 这样做可以更明确地指定 HTTP 请求方法,提高代码可读性和维护性
- 将 ConfigController 中的 refreshCache 方法和 NoticeController 中的 publishNotice 和 revokeNotice 方法的注解从 @RequestMapping 修改为 @PutMapping - 这样做可以更明确地指定 HTTP 请求方法,提高代码可读性和维护性