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

添加apipost生成接口文档逻辑

parent 6c037f57
...@@ -530,7 +530,7 @@ public class GentableEntity extends GentableEntityExt { ...@@ -530,7 +530,7 @@ public class GentableEntity extends GentableEntityExt {
this.feignAppName = ""; this.feignAppName = "";
this.detailShow = 1; this.detailShow = 2;
this.genApi = null; this.genApi = null;
......
...@@ -476,7 +476,7 @@ public class GentableServiceImpl extends AbstractCRUDServiceImpl<GentableDao, Ge ...@@ -476,7 +476,7 @@ public class GentableServiceImpl extends AbstractCRUDServiceImpl<GentableDao, Ge
String temp2 = StringUtils.substringBetween(column.getColumnComment(), "(", ")"); String temp2 = StringUtils.substringBetween(column.getColumnComment(), "(", ")");
GenUtils.checkDict(column, temp1); GenUtils.checkDict(column, temp1);
GenUtils.checkDict(column, temp2); GenUtils.checkDict(column, temp2);
column.setColumnComment(StrUtil.removeAllLineBreaks(column.getColumnComment())); column.setColumnComment(StrUtil.removeAllLineBreaks(column.getColumnComment().replaceAll("\"","“")));
return column; return column;
}).collect(Collectors.toList()); }).collect(Collectors.toList());
......
...@@ -2155,7 +2155,7 @@ ...@@ -2155,7 +2155,7 @@
"field_type":"integer", "field_type":"integer",
"is_checked":1, "is_checked":1,
"key":"Authorization", "key":"Authorization",
"value":"{{token}}}", "value":"{{token}}",
"not_null":1, "not_null":1,
"type":"integer" "type":"integer"
} }
...@@ -2268,7 +2268,7 @@ ...@@ -2268,7 +2268,7 @@
"field_type":"String", "field_type":"String",
"is_checked":1, "is_checked":1,
"key":"Authorization", "key":"Authorization",
"value":"{{token}}}", "value":"{{token}}",
"not_null":1, "not_null":1,
"type":"Text" "type":"Text"
} }
...@@ -2765,7 +2765,7 @@ ...@@ -2765,7 +2765,7 @@
"field_type":"String", "field_type":"String",
"is_checked":1, "is_checked":1,
"key":"Authorization", "key":"Authorization",
"value":"{{token}}}", "value":"{{token}}",
"not_null":1, "not_null":1,
"type":"Text" "type":"Text"
} }
......
...@@ -23,6 +23,7 @@ import ${subPackageName}.service.${subClassName}Service; ...@@ -23,6 +23,7 @@ import ${subPackageName}.service.${subClassName}Service;
import org.springframework.util.ObjectUtils; import org.springframework.util.ObjectUtils;
import java.util.Date; import java.util.Date;
import java.util.Arrays; import java.util.Arrays;
import java.util.List;
</#if> </#if>
<#if pkColumn??&&pkColumn.isIncrement==0 > <#if pkColumn??&&pkColumn.isIncrement==0 >
import cn.hutool.core.util.IdUtil; 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