ff40ff9dd8
- 数据库:添加 has_purchased_starter_pack 字段到 register_bonus_claims - 后端:创建静态配置管理套餐信息,支持按国家/地区区分 - 后端:新增 GET /api/v1/points/packages API 返回可用套餐 - 后端:创建 utils/paths.py 统一路径管理 - 前端:动态获取套餐信息,移除硬编码 - 前端:添加 ProductCode 枚举约束,前后端类型安全 - 配置:Profile 默认国家改为 US(ISO 3166-1 alpha-2) - 文档:更新协议文档说明新 API 和字段
eryao apps
Flutter client for 觅爻签问.
Debug startup with backend injection
This app supports injecting backend URL at startup (same pattern as social-app):
- Dart read path:
lib/core/config/env.dart - Injection key:
BACKEND_URL
Direct command
flutter run --dart-define=BACKEND_URL=http://192.168.1.100:5775
Script command
./tool/run-dev.sh --backend-url http://192.168.1.100:5775
If BACKEND_URL is not provided, fallback is:
- Android emulator:
http://10.0.2.2:5775 - Others:
http://localhost:5775