rwadurian/frontend/mobile-app/lib/core
Developer ad739a83f8 fix(mobile-app): 修复 API 请求路径缺少 /api/v1 前缀问题
问题原因:
- 原 ApiClient baseUrl 为 'https://rwaapi.szaiai.com'
- 请求路径为 '/user/auto-create'
- 实际请求: https://rwaapi.szaiai.com/user/auto-create (错误)
- 正确路径: https://rwaapi.szaiai.com/api/v1/user/auto-create

解决方案:
- 新增 AppConfig 配置管理类
- 支持多环境配置 (dev/staging/prod)
- apiBaseUrl 已包含 /api/v1 前缀
- 支持 --dart-define=ENV=dev 切换环境

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 08:41:37 -08:00
..
config fix(mobile-app): 修复 API 请求路径缺少 /api/v1 前缀问题 2025-12-03 08:41:37 -08:00
constants docs: 添加系统部署指南和更新 API 配置 2025-12-01 20:39:11 -08:00
di . 2025-11-30 06:44:57 -08:00
errors . 2025-11-29 19:22:42 -08:00
extensions feat: 添加5页向导页和首次打开检测功能 2025-11-27 00:39:29 -08:00
network fix(mobile-app): 修复 API 请求路径缺少 /api/v1 前缀问题 2025-12-03 08:41:37 -08:00
services . 2025-11-30 06:44:57 -08:00
storage . 2025-11-30 06:44:57 -08:00
telemetry feat: 添加APK在线升级和遥测统计模块 2025-11-27 02:44:01 -08:00
theme feat: 添加5页向导页和首次打开检测功能 2025-11-27 00:39:29 -08:00
updater feat: 增强移动端版本管理功能 2025-12-03 06:57:26 -08:00
usecases Flutter v0.1 draft ok 2025-11-25 20:09:50 -08:00
utils Flutter v0.1 draft ok 2025-11-25 20:09:50 -08:00