Browse Source
update shardingspherejamijiemi/src/main/java/com/woniu/service/generator/CodeGenerator.java.
Signed-off-by: 蜗牛 <8569561+fuqiangma@user.noreply.gitee.com>
pull/2/head
蜗牛
2 years ago
committed by
Gitee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with
1 additions and
1 deletions
-
shardingspherejamijiemi/src/main/java/com/woniu/service/generator/CodeGenerator.java
|
|
@ -24,7 +24,7 @@ public class CodeGenerator { |
|
|
|
public static void main(String[] args) { |
|
|
|
FastAutoGenerator.create(url, username, password) |
|
|
|
.globalConfig(builder -> { |
|
|
|
builder.author("福隆苑居士,公众号:【Java分享客栈】") // 设置作者
|
|
|
|
builder.author("公众号:【程序员蜗牛g】") // 设置作者
|
|
|
|
.enableSwagger() // 开启 swagger 模式
|
|
|
|
.fileOverride() // 覆盖已生成文件
|
|
|
|
.outputDir(outputDir); // 指定输出目录
|
|
|
|