mirror of
https://github.com/moshowgame/SpringBootCodeGenerator.git
synced 2025-12-26 05:48:33 +08:00
version
This commit is contained in:
parent
870d95e1bf
commit
b7861ca9fc
@ -108,6 +108,28 @@
|
||||
}
|
||||
});
|
||||
|
||||
function getVersion(){
|
||||
var gitVersion ;
|
||||
$.ajax({
|
||||
type: 'GET',
|
||||
url: "https://raw.githubusercontent.com/moshowgame/SpringBootCodeGenerator/master/generator-web/src/main/resources/static/version.json",
|
||||
dataType: "json",
|
||||
success: function (data) {
|
||||
gitVersion = data.version;
|
||||
$.ajax({
|
||||
type: 'GET',
|
||||
url: base_url + "/static/version.json",
|
||||
dataType: "json",
|
||||
success: function (data) {
|
||||
$.toast("#当前版本:"+data.version+" | github:"+gitVersion);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
$('#version').on('click', function(){
|
||||
getVersion();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
@ -131,7 +153,7 @@
|
||||
<p class="lead">
|
||||
√基于SpringBoot2+Freemarker的代码生成器,√以释放双手为目的,√支持mysql/oracle/pgsql三大数据库,<br>
|
||||
√用DDL-SQL语句生成JPA/JdbcTemplate/Mybatis/MybatisPlus/BeetlSQL相关代码。<br>
|
||||
欢迎大家多多提交模板和交流想法,如果发现有SQL语句不能识别,请<a href="https://github.com/moshowgame/SpringBootCodeGenerator/issues">留言</a>,同时欢迎大家提<a href="https://github.com/moshowgame/SpringBootCodeGenerator/pulls">PR</a>和<a href="#" id="donate1">点击赞赏</a>,谢谢!
|
||||
如果发现有SQL语句不能识别,请<a href="https://github.com/moshowgame/SpringBootCodeGenerator/issues">留言</a>,同时欢迎大家提<a href="https://github.com/moshowgame/SpringBootCodeGenerator/pulls">PR</a>和<a href="#" id="donate1">赞赏</a>,谢谢!<a id="version" href="#">查看版本</a>
|
||||
</p>
|
||||
<div id="donate" class="container" show="no"></div>
|
||||
<hr>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user