@GetMapping("/get_latest_version")
    public DataResult<AppVersionVO> getLatestVersion(String currentVersion) {
        ModeEnum mode = EasyEnumUtils.getEnum(ModeEnum.class, System.getProperty("chat2db.mode"));
        if (mode != ModeEnum.DESKTOP) {
            // In this mode, no user login is required, so only local access is available
            return DataResult.of(null);
        }
        String user = "";
        DataResult<Config> dataResult = configService.find(Chat2dbAIClient.CHAT2DB_OPENAI_KEY);
        if (dataResult.getData() != null) {
            user = dataResult.getData().getContent();
        }
        AppVersionVO appVersionVO = SystemUtils.getLatestVersion(currentVersion, "manual", user);
        if (appVersionVO == null) {
            appVersionVO = new AppVersionVO();
            appVersionVO.setVersion(currentVersion);
            appVersionVO.setType("manual");
        }
        DataResult<Config> updateType = configService.find(UPDATE_TYPE);
        if (updateType.getData() != null) {
            appVersionVO.setType(updateType.getData().getContent());
        }
        // In this mode, no user login is required, so only local access is available
        appVersionVO.setDesktop(true);
        return DataResult.of(appVersionVO);
    }
Check if the test is successful

@return
chat2db-server/chat2db-server-web/chat2db-server-web-api/src/main/java/ai/chat2db/server/web/api/controller/system/SystemController.java