diff --git a/README.md b/README.md index b0938c3..001e13b 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ SpringBootCodeGenerator CSDN博客 http://blog.csdn.net/moshowgame 更新日期 更新内容 +20181002修复公共CDN之Layer.js404问题,导致项目无法生成。 20180927优化COMMENT提取逻辑,支持多种复杂情况的注释(感谢@raodeming的反馈)。 20180926全新BeetlSQL模块,以及一些小细节优化(感谢@三叔同事的建议)。 20180925优化SQL表和字段备注的推断,包括pgsql/oralce的comment on column/table情况处理等。 diff --git a/generator-web/src/main/resources/static/js/index-new.js b/generator-web/src/main/resources/static/js/index-new.js index 4b5b5f6..e7a47f8 100644 --- a/generator-web/src/main/resources/static/js/index-new.js +++ b/generator-web/src/main/resources/static/js/index-new.js @@ -43,7 +43,7 @@ $(function () { dataType: "json", success: function (data) { if (data.code == 200) { - layer.open({ + /*layer.open({ icon: '1', content: "代码生成成功", end: function () { @@ -53,12 +53,15 @@ $(function () { genCodeArea.setSize('auto', 'auto'); } - }); + });*/ + codeData = data.data; + genCodeArea.setValue(codeData.swaggerui); + genCodeArea.setSize('auto', 'auto'); } else { - layer.open({ + /*layer.open({ icon: '2', content: (data.msg || '代码生成失败') - }); + });*/ } } }); diff --git a/generator-web/src/main/resources/templates/common/common-import.ftl b/generator-web/src/main/resources/templates/common/common-import.ftl index e625b0e..96c761f 100644 --- a/generator-web/src/main/resources/templates/common/common-import.ftl +++ b/generator-web/src/main/resources/templates/common/common-import.ftl @@ -38,7 +38,8 @@ <#-- jquery.slimscroll --> <#-- layer --> - +<#----> +<#---->