feat: 切换邮箱认证并重构前后端启动与门禁

This commit is contained in:
qzl
2026-04-02 18:39:35 +08:00
parent 92cdfd9fca
commit 31594558eb
116 changed files with 5608 additions and 628 deletions
+21 -10
View File
@@ -1,16 +1,27 @@
# meeyao_qianwen
# eryao apps
A new Flutter project.
Flutter client for `觅爻签问`.
## Getting Started
## Debug startup with backend injection
This project is a starting point for a Flutter application.
This app supports injecting backend URL at startup (same pattern as social-app):
A few resources to get you started if this is your first Flutter project:
- Dart read path: `lib/core/config/env.dart`
- Injection key: `BACKEND_URL`
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
### Direct command
For help getting started with Flutter development, view the
[online documentation](https://docs.flutter.dev/), which offers tutorials,
samples, guidance on mobile development, and a full API reference.
```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
```
If `BACKEND_URL` is not provided, fallback is:
- Android emulator: `http://10.0.2.2:5775`
- Others: `http://localhost:5775`