Files
hi-server/initialize/migrate/database
shanshanzhong147 a0f2d8a7b8 fix: persist guest/redemption activation context to DB to survive Redis TTL expiry (Bug 1 + Bug 10)
- Add `activation_context` TEXT column to `order` table (migration 02150)
- purchaseLogic: write TemporaryOrderInfo JSON to order.ActivationContext in the same
  insert transaction; Redis write is now best-effort (non-fatal)
- redeemCodeLogic: write redemption {type, redemption_code_id, unit_time, quantity} JSON
  to order.ActivationContext at order creation; Redis write is now best-effort (non-fatal)
- getTempOrderInfo: on Redis miss, fall back to order.ActivationContext from DB;
  logs CRITICAL and returns error if both are missing (old orders with no DB record)
- RedemptionActivate: on Redis miss, fall back to order.ActivationContext from DB;
  same CRITICAL log path for legacy orders

Co-authored-by: multica-agent <github@multica.ai>
2026-05-25 02:18:19 -07:00
..
2025-04-25 12:08:29 +09:00
2026-03-17 08:37:36 -07:00
2025-04-25 12:08:29 +09:00
2025-04-25 12:08:29 +09:00
2025-04-25 12:08:29 +09:00
2025-04-25 12:08:29 +09:00
2025-04-25 12:08:29 +09:00
2025-04-25 12:08:29 +09:00
2025-08-15 12:30:21 -04:00
2025-08-15 12:30:21 -04:00
2026-01-05 17:53:31 +08:00
2026-01-06 16:16:42 +08:00
2026-01-06 16:16:42 +08:00
x
2026-03-08 22:37:58 -07:00
x
2026-03-08 22:37:58 -07:00
2026-03-19 03:21:47 -07:00
2026-03-19 03:21:47 -07:00
2026-03-19 03:21:47 -07:00