Skip to content

Commit

Permalink
refactor(代码生成): 新增 opensource true 参数
Browse files Browse the repository at this point in the history
通过此参数获取开源版本的模板,方便定制
  • Loading branch information
lltx committed Jul 16, 2024
1 parent e1952d5 commit c0b599c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ private Map<String, Object> getDataModel(Long tableId) {
Map<String, Object> dataModel = new HashMap<>();

// 填充数据模型
dataModel.put("opensource", true);
dataModel.put("isSpringBoot3", isSpringBoot3());
dataModel.put("dbType", table.getDbType());
dataModel.put("package", table.getPackageName());
Expand Down

0 comments on commit c0b599c

Please sign in to comment.