From 19a45e1c33a0925bc8237bd79d74902d20a1e16e Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 05 十月 2023 16:57:31 +0800 Subject: [PATCH] 修改JSON序列化 --- src/main/java/com/smartearth/poiexcel/entity/Result.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/smartearth/poiexcel/entity/Result.java b/src/main/java/com/smartearth/poiexcel/entity/Result.java index 1ddd128..faf0be3 100644 --- a/src/main/java/com/smartearth/poiexcel/entity/Result.java +++ b/src/main/java/com/smartearth/poiexcel/entity/Result.java @@ -16,7 +16,7 @@ private String message; - private String data; + private JSONObject data; public Boolean getSuccess() { return success; @@ -42,11 +42,11 @@ this.message = message; } - public String getData() { + public JSONObject getData() { return data; } - public void setData(String data) { + public void setData(JSONObject data) { this.data = data; } } -- Gitblit v1.9.3