This commit is contained in:
2022-10-19 10:54:45 +08:00
commit 153e28aa4e
115 changed files with 4215 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import 'package:chat/middleware/auth_middleware.dart';
import 'package:chat/views/auth/index_page.dart';
import 'package:get/get.dart';
abstract class AuthRoutes {
/// 身份验证页面
static const String index = '/auth';
static GetPage router = GetPage(
name: AuthRoutes.index,
middlewares: [
EnsureNotAuthMiddleware(),
],
page: () => const AuthPage(),
);
}