From b808650f7c9456f83ab272be1203d5ad7a20bafe Mon Sep 17 00:00:00 2001
From: cloudroam <cloudroam>
Date: 星期三, 02 四月 2025 10:37:36 +0800
Subject: [PATCH] fix : 分类缓存
---
app/src/main/java/com/example/firstapp/database/response/ContentResponse.kt | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
diff --git a/app/src/main/java/com/example/firstapp/database/response/ContentResponse.kt b/app/src/main/java/com/example/firstapp/database/response/ContentResponse.kt
index 9cfa6a5..9fb7e80 100644
--- a/app/src/main/java/com/example/firstapp/database/response/ContentResponse.kt
+++ b/app/src/main/java/com/example/firstapp/database/response/ContentResponse.kt
@@ -1,20 +1,13 @@
package com.example.firstapp.database.response
data class ContentResponse(
- val code: Int,
+ val code: String,
val msg: String,
val data: ContentData?
)
data class ContentData(
- val id: Long,
- val type: String,
+ val id: String,
val title: String,
val content: String,
- val version: String,
- val status: Int,
- val createTime: String,
- val updateTime: String,
- val creator: String?,
- val updater: String?
)
\ No newline at end of file
--
Gitblit v1.9.3