From 05b8de2032121a935fcfd39fc82e7c284389fbd5 Mon Sep 17 00:00:00 2001 From: wizzercn Date: Thu, 13 Dec 2018 14:17:07 +0800 Subject: [PATCH] .. --- wk-framework/src/main/java/cn/wizzer/framework/base/Result.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wk-framework/src/main/java/cn/wizzer/framework/base/Result.java b/wk-framework/src/main/java/cn/wizzer/framework/base/Result.java index 79c321702..33a671280 100644 --- a/wk-framework/src/main/java/cn/wizzer/framework/base/Result.java +++ b/wk-framework/src/main/java/cn/wizzer/framework/base/Result.java @@ -96,7 +96,7 @@ public Object getData() { return data; } - public String toJson() { + public String toJsonString() { return Json.toJson(this, JsonFormat.compact()); }