From 1aa309700fb7e12d85f98bed22a45bdac448ec1c Mon Sep 17 00:00:00 2001 From: liujie <liujie> Date: 星期六, 16 九月 2023 11:18:46 +0800 Subject: [PATCH] app 2.0 --- cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/TStoredValueConfigController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/TStoredValueConfigController.java b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/TStoredValueConfigController.java index 3218661..4cb4650 100644 --- a/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/TStoredValueConfigController.java +++ b/cloud-server-management/src/main/java/com/dsh/guns/modular/system/controller/code/TStoredValueConfigController.java @@ -41,7 +41,7 @@ // 解析json串 获取时间 JSONObject jsonObject = new JSONObject(storeValueConfig.getContent()); JSONArray timeRulesArray = jsonObject.getJSONArray("time_rules"); - model.addAttribute("content",jsonObject); + model.addAttribute("content",jsonObject.toString()); if (timeRulesArray.length() > 0) { JSONObject timeRule = timeRulesArray.getJSONObject(0); String startTime = timeRule.getString("startTime"); -- Gitblit v1.7.1