XuqmGroup-Server/tenant-service
XuqmGroup ce64c8fa60 fix: 修复私有化一键更新三个问题
1. Jenkinsfile: versions.json 补充 platformVersion 字段(取 tenant-service 版本),
   并为每个服务添加 changed 标记;私有部署 checkForUpdates 依赖此字段判断是否有新版本,
   缺失时始终返回 hasUpdate=false。

2. SystemUpdateService: dockerLogin 改为返回 boolean,凭据缺失/登录失败时
   中止更新流程(原来失败后继续,导致 docker compose pull 静默失败仍用旧镜像)。
   readRemoteVersions 新增 VERSIONS_MANIFEST_URL 远端拉取支持,
   私有服务器可在 .env 中配置后自动同步公有端版本清单。
   新增 migrate_v20260610_gray_mode_simplify_bookmark 迁移标记(实际 SQL 由 update-service 执行)。

3. SystemUpdateController: 新增 GET /api/system/versions/manifest 公开端点,
   公有服务器部署后即可作为私有服务器的 VERSIONS_MANIFEST_URL 目标地址。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-11 20:04:47 +08:00
..
src/main fix: 修复私有化一键更新三个问题 2026-06-11 20:04:47 +08:00
pom.xml docs(deploy): 添加部署文档和安全设计规范 2026-05-08 18:32:00 +08:00