feat: add Flutter mobile clients and staff delivery API
This commit is contained in:
23
apps/user_app/README.md
Normal file
23
apps/user_app/README.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# 瓶安芯用户端
|
||||
|
||||
Android/iOS Flutter 客户端。首期只接入 `/heqi/client/v1/user` 的真实能力:首页安全内容与服务归属、商城、订单、合同、工单、钱包、地址和个人资料。
|
||||
|
||||
## 本地运行
|
||||
|
||||
```bash
|
||||
flutter pub get
|
||||
flutter run --dart-define=API_BASE_URL=http://10.0.2.2:12426
|
||||
```
|
||||
|
||||
Android 模拟器访问宿主机使用 `10.0.2.2`;iOS Simulator 使用 `http://127.0.0.1:12426`。Release 环境必须注入 HTTPS 地址。
|
||||
|
||||
## 质量检查
|
||||
|
||||
```bash
|
||||
flutter analyze
|
||||
flutter test
|
||||
flutter build apk --debug
|
||||
flutter build ios --simulator --no-codesign
|
||||
```
|
||||
|
||||
充值 Mock 确认、设备控制、收藏、押金、消息和发票均不在 Release UI 暴露。
|
||||
Reference in New Issue
Block a user