mirror of
https://gitee.com/log4j/pig.git
synced 2024-12-22 20:54:25 +08:00
fix: 删除无用nacos console 登录无用提示
Signed-off-by: lengleng <wangiegie@gmail.com>
This commit is contained in:
parent
1b957e08a5
commit
cc7e61f659
@ -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