2026-04-02 18:39:35 +08:00
|
|
|
# eryao apps
|
2026-04-02 16:36:35 +08:00
|
|
|
|
2026-04-02 18:39:35 +08:00
|
|
|
Flutter client for `觅爻签问`.
|
2026-04-02 16:36:35 +08:00
|
|
|
|
2026-04-30 11:07:57 +08:00
|
|
|
## Backend URL
|
2026-04-02 16:36:35 +08:00
|
|
|
|
2026-04-30 11:07:57 +08:00
|
|
|
Default backend URL:
|
|
|
|
|
|
|
|
|
|
```text
|
|
|
|
|
https://api.meeyao.com
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
This app also supports injecting backend URL at startup (same pattern as social-app):
|
2026-04-02 16:36:35 +08:00
|
|
|
|
2026-04-02 18:39:35 +08:00
|
|
|
- Dart read path: `lib/core/config/env.dart`
|
|
|
|
|
- Injection key: `BACKEND_URL`
|
2026-04-02 16:36:35 +08:00
|
|
|
|
2026-04-02 18:39:35 +08:00
|
|
|
### Direct command
|
2026-04-02 16:36:35 +08:00
|
|
|
|
2026-04-02 18:39:35 +08:00
|
|
|
```bash
|
|
|
|
|
flutter run --dart-define=BACKEND_URL=http://192.168.1.100:5775
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Script command
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
./tool/run-dev.sh --backend-url http://192.168.1.100:5775
|
|
|
|
|
```
|
|
|
|
|
|
2026-04-30 11:07:57 +08:00
|
|
|
If `BACKEND_URL` is not provided, the app uses the production backend URL above.
|