From 1897c4ad5fa73b3f0a36e1aa0e1e9000302a6ace Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期五, 31 十月 2025 17:35:09 +0800
Subject: [PATCH] 2025.10.31 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