[修改] 添加中文名称

This commit is contained in:
dai19470@163.com 2021-02-04 15:05:45 +08:00
parent 2b3b874b7b
commit caf1c52e8a
1 changed files with 15 additions and 0 deletions

View File

@ -142,6 +142,11 @@ public class ApiConfig {
*/
private List<ApiConstant> apiConstants;
/**
* @since 2.0.7
* project group
*/
private String group;
/**
* @since 1.7.5
* project name
@ -446,6 +451,14 @@ public class ApiConfig {
this.projectCName = projectCName;
}
public String getGroup() {
return group;
}
public void setGroup(String group) {
this.group = group;
}
public boolean isSkipTransientField() {
return skipTransientField;
}
@ -631,6 +644,8 @@ public class ApiConfig {
.append(rpcApiDependencies);
sb.append(",\"apiConstants\":")
.append(apiConstants);
sb.append(",\"group\":\"")
.append(group).append('\"');
sb.append(",\"projectName\":\"")
.append(projectName).append('\"');
sb.append(",\"projectCName\":\"")