[修改] 添加中文名称

This commit is contained in:
daiww 2021-02-04 14:58:41 +08:00
parent 96c29e737b
commit 2b3b874b7b
1 changed files with 15 additions and 0 deletions

View File

@ -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\":")