修改代码生成模板

This commit is contained in:
lijiahang
2023-09-20 11:55:50 +08:00
parent 9c80c8536a
commit 044b859c5b
10 changed files with 59 additions and 47 deletions

View File

@@ -61,7 +61,7 @@ new GenTable("system_role", "角色", "role")
.ignoreApi()
// 忽略生成单元测试
.ignoreTest()
// 生成 vue 文件, 一级业务包为 user, 二级业务包为 role
// 生成 vue 文件, 一级业务包为 user, 二级业务包为 role (前端命名只能使用脊柱命名法)
.vue("user", "role")
// 前端代码生成的枚举对象 可变参数
.enums(RoleStatusEnum.class);