diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 5c37c7f..dce4021 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -1,29 +1,55 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/lib/api/api_path.dart b/lib/api/api_path.dart
new file mode 100644
index 0000000..3b602a3
--- /dev/null
+++ b/lib/api/api_path.dart
@@ -0,0 +1,3 @@
+class ApiPath {
+ static const String login = "/auth/login";
+}
diff --git a/lib/api/api_response.dart b/lib/api/api_response.dart
new file mode 100644
index 0000000..cd85dfe
--- /dev/null
+++ b/lib/api/api_response.dart
@@ -0,0 +1,51 @@
+class ApiResponse {
+ final bool success;
+ final T? data;
+ final String? message;
+ final int? statusCode;
+
+ // 构造函数
+ const ApiResponse({
+ required this.success,
+ this.data,
+ this.message,
+ this.statusCode,
+ });
+
+ // 成功响应
+ factory ApiResponse.success(T data,
+ {String message = 'Success', int? statusCode}) {
+ return ApiResponse(
+ success: true,
+ data: data,
+ message: message,
+ statusCode: statusCode,
+ );
+ }
+
+ // 失败响应
+ factory ApiResponse.error(String message, {int? statusCode, T? data}) {
+ return ApiResponse(
+ success: false,
+ message: message,
+ statusCode: statusCode,
+ data: data, // 可选:返回部分数据(如错误时的缓存数据)
+ );
+ }
+
+ // 加载中(可选)
+ factory ApiResponse.loading() {
+ return ApiResponse(
+ success: false,
+ message: 'Loading...',
+ );
+ }
+
+ @override
+ List