mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-23 05:00:23 +08:00
feat: 删除无用的nacos console页面
Signed-off-by: lengleng <wangiegie@gmail.com>
This commit is contained in:
parent
901f50e473
commit
f5cbb8276a
@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user