From 62925cd6b77a7e5051005d1078101d5b7f7a4a47 Mon Sep 17 00:00:00 2001 From: shizhendong Date: Tue, 5 Nov 2024 14:45:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=9D=E5=A7=8B=E5=8C=96=20meta.json?= =?UTF-8?q?=20=E6=96=87=E4=BB=B6=E6=A0=BC=E5=BC=8F=E8=B0=83=E6=95=B4?= =?UTF-8?q?=EF=BC=8Cjson=20=E7=BC=A9=E8=BF=9B=E5=9B=A0=E5=AD=90=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=202=EF=BC=8C=E5=92=8C=E5=89=8D=E7=AB=AF=E4=BF=9D?= =?UTF-8?q?=E6=8C=81=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../net/geedge/asw/module/app/service/impl/GitServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/geedge/asw/module/app/service/impl/GitServiceImpl.java b/src/main/java/net/geedge/asw/module/app/service/impl/GitServiceImpl.java index bea3bca..aa85bd9 100644 --- a/src/main/java/net/geedge/asw/module/app/service/impl/GitServiceImpl.java +++ b/src/main/java/net/geedge/asw/module/app/service/impl/GitServiceImpl.java @@ -667,7 +667,7 @@ public class GitServiceImpl implements IGitService { jsonObject.set("id", T.StrUtil.uuid()); jsonObject.set("name", applicationName); jsonObject.set("longName", applicationName); - fileContent = T.JSONUtil.toJsonPrettyStr(jsonObject); + fileContent = T.JSONUtil.parse(jsonObject).toJSONString(2); } if ("signature.json".equals(str)) { fileContent = this.signatureJsonTemplate;