gcx/backend/services/admin-service/src
hailin 7ba5401e2f feat(infra): use oss.gogenex.com for app version download URLs
将应用版本的文件下载链接从 API 代理路径改为直接指向对象存储域名。

backend/admin-service (admin-version.controller.ts)
- uploadVersion 上传成功后,downloadUrl 改为:
    https://oss.gogenex.com/app-releases/<storageKey>
  (原:/api/v1/app/version/download/:id 代理路径)
- 读取 OSS_BASE_URL 环境变量,默认 https://oss.gogenex.com

backend/docker-compose.yml
- admin-service 新增 OSS_BASE_URL=https://oss.gogenex.com

infrastructure/minio/deploy.sh
- app-releases bucket 加入公开下载列表
  (APK/IPA 需被移动端直接下载,无需鉴权)

frontend/admin-web
- .env.production 新增 NEXT_PUBLIC_OSS_URL=https://oss.gogenex.com
- .env.development 新增 NEXT_PUBLIC_OSS_URL=https://oss.gogenex.com

MinIO 现状:
  app-releases bucket 已在服务器上设为 anonymous download

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 00:42:05 -08:00
..
application/services fix(admin-service): update MinIO default endpoint to oss.gogenex.com 2026-03-07 00:22:53 -08:00
domain fix(update): 修复 app 版本更新检查路径 + 解决 MinIO presigned URL 24h 过期 2026-03-03 21:13:13 -08:00
infrastructure fix(admin-service): 修正 ManifestParser 调用方式 — 直接传原始 Buffer 2026-03-06 09:31:08 -08:00
interface/http feat(infra): use oss.gogenex.com for app version download URLs 2026-03-07 00:42:05 -08:00
admin.module.ts fix(admin-service): 注册 JwtStrategy 解决 "Unknown authentication strategy" 错误 2026-03-03 08:16:38 -08:00
main.ts fix(admin-service): 移除全局前缀排除规则 — 让 app/version 路由正确响应 /api/v1 前缀 2026-03-03 21:39:32 -08:00