Commit 4fdec01a authored by 赵啸非's avatar 赵啸非

添加apipost生成接口文档逻辑

parent 6c037f57
......@@ -530,7 +530,7 @@ public class GentableEntity extends GentableEntityExt {
this.feignAppName = "";
this.detailShow = 1;
this.detailShow = 2;
this.genApi = null;
......
......@@ -476,7 +476,7 @@ public class GentableServiceImpl extends AbstractCRUDServiceImpl<GentableDao, Ge
String temp2 = StringUtils.substringBetween(column.getColumnComment(), "(", ")");
GenUtils.checkDict(column, temp1);
GenUtils.checkDict(column, temp2);
column.setColumnComment(StrUtil.removeAllLineBreaks(column.getColumnComment()));
column.setColumnComment(StrUtil.removeAllLineBreaks(column.getColumnComment().replaceAll("\"","“")));
return column;
}).collect(Collectors.toList());
......
......@@ -2155,7 +2155,7 @@
"field_type":"integer",
"is_checked":1,
"key":"Authorization",
"value":"{{token}}}",
"value":"{{token}}",
"not_null":1,
"type":"integer"
}
......@@ -2268,7 +2268,7 @@
"field_type":"String",
"is_checked":1,
"key":"Authorization",
"value":"{{token}}}",
"value":"{{token}}",
"not_null":1,
"type":"Text"
}
......@@ -2765,7 +2765,7 @@
"field_type":"String",
"is_checked":1,
"key":"Authorization",
"value":"{{token}}}",
"value":"{{token}}",
"not_null":1,
"type":"Text"
}
......
......@@ -23,6 +23,7 @@ import ${subPackageName}.service.${subClassName}Service;
import org.springframework.util.ObjectUtils;
import java.util.Date;
import java.util.Arrays;
import java.util.List;
</#if>
<#if pkColumn??&&pkColumn.isIncrement==0 >
import cn.hutool.core.util.IdUtil;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment