feat: 删除无用的nacos console页面

Signed-off-by: lengleng <wangiegie@gmail.com>
This commit is contained in:
lengleng 2023-10-16 10:40:52 +00:00 committed by Gitee
parent 901f50e473
commit f5cbb8276a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -59,8 +59,7 @@ public class ServerStateController {
@SneakyThrows
@GetMapping("/announcement")
public RestResult<String> getAnnouncement() {
ClassPathResource resource = new ClassPathResource(ANNOUNCEMENT_FILE);
return RestResultUtils.success(FileUtil.readString(resource.getFile(), Charset.defaultCharset()));
return RestResultUtils.success();
}
}