class MonitorServerController {

    @Resource
    private EruptProp eruptProp;

    @GetMapping("/info")
    @EruptRouter(authIndex = 1, verifyType = EruptRouter.VerifyType.MENU)
    public Server info() {
        return new Server();
    }

    @GetMapping("/platform")
    @EruptRouter(authIndex = 1, verifyType = EruptRouter.VerifyType.MENU)
    public Platform getPlatformInfo() {<FILL_FUNCTION_BODY>}


}

        Platform platform = new Platform();
        AttachmentProxy attachmentProxy = EruptUtil.findAttachmentProxy();
        platform.setUploadPath(null == attachmentProxy ? eruptProp.getUploadPath() : attachmentProxy.fileDomain());
        platform.setSessionStrategy(eruptProp.isRedisSession() ? "redis" : "servlet");
        platform.setEruptCount(EruptCoreService.getErupts().size());
        platform.setEruptModules(EruptCoreService.getModules());
        platform.setEruptVersion(EruptInformation.getEruptVersion());
        return platform;
    
<no_super_class>