From 2b3b874b7b5966c51451dc88d2181ada65f4c3d2 Mon Sep 17 00:00:00 2001 From: daiww Date: Thu, 4 Feb 2021 14:58:41 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E6=94=B9]=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=B8=AD=E6=96=87=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/power/doc/model/ApiConfig.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/main/java/com/power/doc/model/ApiConfig.java b/src/main/java/com/power/doc/model/ApiConfig.java index 2deedec..29b8781 100644 --- a/src/main/java/com/power/doc/model/ApiConfig.java +++ b/src/main/java/com/power/doc/model/ApiConfig.java @@ -147,6 +147,11 @@ public class ApiConfig { * project name */ private String projectName; + /** + * @since 2.0.7 + * project cn name + */ + private String projectCName; /** * Skip Transient Field @@ -433,6 +438,14 @@ public class ApiConfig { this.projectName = projectName; } + public String getProjectCName() { + return projectCName; + } + + public void setProjectCName(String projectCName) { + this.projectCName = projectCName; + } + public boolean isSkipTransientField() { return skipTransientField; } @@ -620,6 +633,8 @@ public class ApiConfig { .append(apiConstants); sb.append(",\"projectName\":\"") .append(projectName).append('\"'); + sb.append(",\"projectCName\":\"") + .append(projectCName).append('\"'); sb.append(",\"skipTransientField\":") .append(skipTransientField); sb.append(",\"showAuthor\":")