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;