Browse Source

Fix: current app version column field to long

liweihao 5 years ago
parent
commit
cdb52adcdf

+ 1 - 1
src/main/java/com/example/kdan_data_center/datacenter/file/body/UploadMissionBody.kt

@@ -15,7 +15,7 @@ data class UploadMissionBody(
     @SerializedName("extimate_size") var extimateSize: Int? = null
     @SerializedName("cover_name") var coverName: String? = null
     @SerializedName("platform") var platform: String? = null
-    @SerializedName("current_app_version") var currentAppVersion: Int? = null
+    @SerializedName("current_app_version") var currentAppVersion: Long? = null
     @SerializedName("data_format_version") var dataFormatVersion: Int? = null
     @SerializedName("source_group") var sourceGroup: String? = null
     @SerializedName("project_created_at") var projectCreatedAt: String? = null

+ 1 - 1
src/main/java/com/example/kdan_data_center/datacenter/file/data/FileInfoData.kt

@@ -40,7 +40,7 @@ data class FileInfoData(
             @SerializedName("sort_priority") val sortPriority: Int,
             @SerializedName("user_id_backup") val userIdBackup: Int?,
             @SerializedName("platform") val platform: String?,
-            @SerializedName("current_app_version") val currentAppVersion: Int,
+            @SerializedName("current_app_version") val currentAppVersion: Long,
             @SerializedName("data_format_version") val dataFormatVersion: Int,
             @SerializedName("unit_token") val unitToken: String,
             @SerializedName("folder_id") val folderId: Int,

+ 1 - 1
src/main/java/com/example/kdan_data_center/datacenter/file/data/FilePreviewInfoData.kt

@@ -49,7 +49,7 @@ data class FilePreviewInfoData(
                 @SerializedName("sort_priority") val sortPriority: Int,
                 @SerializedName("user_id_backup") val userIdBackup: Int?,
                 @SerializedName("platform") val platform: String?,
-                @SerializedName("current_app_version") val currentAppVersion: Int,
+                @SerializedName("current_app_version") val currentAppVersion: Long,
                 @SerializedName("data_format_version") val dataFormatVersion: Int,
                 @SerializedName("unit_token") val unitToken: String,
                 @SerializedName("folder_id") val folderId: Int,

+ 1 - 1
src/main/java/com/example/kdan_data_center/datacenter/file/data/MutiFileInfoData.kt

@@ -39,7 +39,7 @@ data class MutiFileInfoData(
             @SerializedName("sort_priority") val sortPriority: Int,
             @SerializedName("user_id_backup") val userIdBackup: Int?,
             @SerializedName("platform") val platform: String?,
-            @SerializedName("current_app_version") val currentAppVersion: Int,
+            @SerializedName("current_app_version") val currentAppVersion: Long,
             @SerializedName("data_format_version") val dataFormatVersion: Int,
             @SerializedName("unit_token") val unitToken: String,
             @SerializedName("folder_id") val folderId: Int,

+ 1 - 1
src/main/java/com/example/kdan_data_center/datacenter/folder/data/FolderInfoData.kt

@@ -58,7 +58,7 @@ data class FolderInfoData(
                 @SerializedName("sort_priority") val sortPriority: Int,
                 @SerializedName("user_id_backup") val userIdBackup: Int?,
                 @SerializedName("platform") val platform: String?,
-                @SerializedName("current_app_version") val currentAppVersion: Int,
+                @SerializedName("current_app_version") val currentAppVersion: Long,
                 @SerializedName("data_format_version") val dataFormatVersion: Int,
                 @SerializedName("unit_token") val unitToken: String,
                 @SerializedName("folder_id") val folderId: Int,