diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 9620d25..b193cbd 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -31,7 +31,6 @@
-
diff --git a/assets/images/cardbg1.png b/assets/images/cardbg1.png
new file mode 100644
index 0000000..f7c2e76
Binary files /dev/null and b/assets/images/cardbg1.png differ
diff --git a/lib/constants/api.dart b/lib/constants/api.dart
index ba9eb3d..12b0692 100644
--- a/lib/constants/api.dart
+++ b/lib/constants/api.dart
@@ -58,7 +58,7 @@ class _App {
///版本更新
String get updateSelect =>'/app/update/select';
- ///ban
+ ///版本添加
String get updateAdd => '/manage/update/add';
}
diff --git a/lib/model/update_model.dart b/lib/model/update_model.dart
new file mode 100644
index 0000000..1086f93
--- /dev/null
+++ b/lib/model/update_model.dart
@@ -0,0 +1,40 @@
+import 'package:json_annotation/json_annotation.dart';
+import 'package:equatable/equatable.dart';
+
+part 'update_model.g.dart';
+
+@JsonSerializable()
+class UpdateModel extends Equatable {
+ final int updateStatus;
+ final int versionCode;
+ final String versionName;
+ final String modifyContent;
+ final String downloadUrl;
+ final String apkSize;
+ final String apkMd5;
+
+ factory UpdateModel.fromJson(Map json) =>
+ _$UpdateModelFromJson(json);
+
+
+ const UpdateModel({
+ required this.updateStatus,
+ required this.versionCode,
+ required this.versionName,
+ required this.modifyContent,
+ required this.downloadUrl,
+ required this.apkSize,
+ required this.apkMd5,
+ });
+
+ @override
+ List