Commit Graph

12 Commits

Author SHA1 Message Date
zl-q ec810a8c45 config: set default locale to English and update CREEM production URLs
- Change default locale from zh to en for international audience
- Update .env.example with production CREEM API URL
- Set SUCCESS_URL to meeyao.com/en/store
2026-05-11 18:51:18 +08:00
zl-q f07e307e82 feat: integrate CREEM web payment for credits purchase
Replace abandoned iOS App Store route with CREEM Merchant of Record
payment integration for web-based credits purchase.

Backend changes:
- Add CreemClient for CREEM API communication
- Add CreemService for checkout creation and webhook handling
- Add creem_transactions table for payment tracking
- Fix webhook payload parsing (id, order.id, customer.id structure)
- Integrate with existing points ledger system

Frontend changes:
- Display dynamic prices from CREEM API
- Support decimal price formatting (e.g., $1.00)
- Add checkout flow with redirect to CREEM hosted page
2026-05-11 18:38:21 +08:00
qzl 6432c24e20 fix(security): disable Swagger in prod, remove dead debug field, harden env config 2026-04-30 11:47:48 +08:00
qzl 388775e05f fix: quote env values with spaces for safe shell sourcing 2026-04-30 11:29:10 +08:00
qzl 98f4a8d07a fix: update production app configuration 2026-04-30 11:07:57 +08:00
ZL-Q 87f92987b2 feat: 实现 iOS Apple Pay 内购支付功能
前端:
- 集成 in_app_purchase 插件,实现 IAP 支付流程
- 添加支付模块 (payments/) 处理产品获取、购买、验证
- 积分中心页面集成 Apple Pay 购买入口
- 设置页面重构: 关于/隐私/协议直接展示,删除 legal_center 子页面
- 修复欢迎引导页滚动检测阈值问题
- 修复解卦结果页 iOS 侧滑返回手势被阻止的问题
- 邀请码绑定按钮临时禁用(待后端实现)

后端:
- 新增 apple_iap_transactions 表记录交易
- 实现 Apple 服务器端验证 (App Store Server API)
- 支付成功后自动发放积分
- 支持 Sandbox/Production 环境切换
- 添加退款处理和交易状态机

协议:
- 更新积分流水协议,支持 purchase/refund 类型
- 新增 PAYMENT_* 错误码
2026-04-28 10:45:29 +08:00
qzl 6a2a9d2c87 feat(feedback): implement user feedback collection system with email reporting
Backend:
- Add user_feedback table with RLS policy
- Create feedback submission API (multipart/form-data)
- Implement xlsx report generation with embedded images
- Add scheduled email delivery via Feishu SMTP
- Create HTML email templates (daily_report, no_feedback)

Frontend:
- Add feedback screen with type selection and image picker
- Support anonymous submission via skipAuth flag
- Collect device info and app version

Protocol:
- Document feedback API contract and error codes
- Update http-error-codes.md with FEEDBACK_* codes
2026-04-20 12:49:54 +08:00
qzl 0ac8b81a66 feat: 添加 points_audit_ledger 及 JSON 字段 Pydantic Schema 约束 2026-04-10 12:28:18 +08:00
qzl f904286ba7 refactor: 重构弹窗组件支持自定义图标组件 2026-04-07 12:30:12 +08:00
qzl 31594558eb feat: 切换邮箱认证并重构前后端启动与门禁 2026-04-02 18:39:35 +08:00
qzl 92cdfd9fca chore: 迁移到 social-app 架构,集成 Supabase 和 taskiq worker 2026-04-02 16:36:35 +08:00
qzl 695adb7d6f feat: initial commit 2026-03-31 13:32:22 +08:00