gcx/backend/services
hailin 7c8b79161a feat(upload): parse=upload+save+metadata, register=JSON only — no double upload
Previously the flow uploaded the 53MB file twice:
  1. POST /parse  → parse metadata (file discarded)
  2. POST /upload → parse again + save (file sent again)

New flow — file sent exactly once:
  1. POST /parse  → upload file, save to disk, parse metadata
                    returns {versionName, versionCode, minSdkVersion, storageKey, fileSize, fileSha256}
  2. POST /register → JSON only (no file), creates DB record using storageKey

Frontend:
- handleFileChange: async, immediately uploads to /parse with progress bar (0-100%)
- handleSubmit: calls /register with storageKey + form metadata (instant)
- Upload modal: real-time progress bar, "confirm" button disabled until parse complete
- Console logs at every step for debugging

Backend:
- POST /parse: saves file after parsing, returns storageKey in response
- POST /register: new endpoint, accepts JSON + storageKey, creates version record

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 07:19:28 -08:00
..
admin-service feat(upload): parse=upload+save+metadata, register=JSON only — no double upload 2026-03-07 07:19:28 -08:00
ai-service fix(user/ai-service): fix GET /users/kyc route conflict + add passport-jwt to ai-service 2026-03-05 18:21:31 -08:00
auth-service fix(alipay): 适配 tobias 5.x 新 auth API,后端生成签名 authString 2026-03-04 09:26:30 -08:00
chain-indexer feat(health): 为全部12个微服务添加Docker健康检查 2026-02-20 05:39:25 -08:00
clearing-service fix(auth): JwtStrategy.validate() return id not sub 2026-03-04 23:52:53 -08:00
compliance-service fix(auth): JwtStrategy.validate() return id not sub 2026-03-04 23:52:53 -08:00
issuer-service fix: comprehensive API compatibility fixes across issuer/user/ai services and Flutter 2026-03-05 09:29:44 -08:00
notification-service fix(auth): JwtStrategy.validate() return id not sub 2026-03-04 23:52:53 -08:00
referral-service feat(referral): 推荐服务全链路实现 2026-03-04 00:58:28 -08:00
telemetry-service feat(telemetry): 完整实现 presence-service 迁移 + Flutter 遥测接入 2026-03-05 23:33:13 -08:00
trading-service feat: 全平台API对齐 — 4个前端应用55+页面接入真实后端API 2026-02-22 22:53:07 -08:00
translate-service feat(health): 为全部12个微服务添加Docker健康检查 2026-02-20 05:39:25 -08:00
user-service fix(user/ai-service): fix GET /users/kyc route conflict + add passport-jwt to ai-service 2026-03-05 18:21:31 -08:00