From 0f58aa8ea118c3bd0b28396febc58fdbd94eef75 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 27 十月 2025 17:33:33 +0800
Subject: [PATCH] 2025.10.27 1. 新增巡查场景历史详情界面(待完成)
---
app/src/main/java/cn/flightfeather/thirdappmodule/model/bean/BaseResponse.kt | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/app/src/main/java/cn/flightfeather/thirdappmodule/model/bean/BaseResponse.kt b/app/src/main/java/cn/flightfeather/thirdappmodule/model/bean/BaseResponse.kt
index d791696..bbc4962 100644
--- a/app/src/main/java/cn/flightfeather/thirdappmodule/model/bean/BaseResponse.kt
+++ b/app/src/main/java/cn/flightfeather/thirdappmodule/model/bean/BaseResponse.kt
@@ -5,14 +5,15 @@
* Date: 2020/8/4
* 缃戠粶璇锋眰杩斿洖鏁版嵁鍩虹被
*/
-data class BaseResponse<T>(
- val success: Boolean,
- val message: String,
- val head: DataHead? = null,
- val data: T?
-)
+class BaseResponse<T> {
+ var success: Boolean = false
+ var message: String? = null
+ var head: DataHead? = null
+ var data: T? = null
+}
-data class DataHead(
- var page: Int = 1,
- var totalPage: Int = 1
-)
\ No newline at end of file
+class DataHead {
+ var page: Int = 1
+ var totalPage: Int = 1
+ var totalCount: Int = 1
+}
\ No newline at end of file
--
Gitblit v1.9.3