|
@@ -17,15 +17,14 @@ public class TestCodeGenerator {
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
// 代码生成
|
|
|
- CodeGenerator.execute("jdbc:postgresql://127.0.0.1:5432/aizuda-boot",
|
|
|
- "postgres", "123456", "com.aizuda.boot.modules." + scannerNext("请输入模块名称"));
|
|
|
+ CodeGenerator.execute("jdbc:postgresql://8.142.167.145:5432/aizuda-boot",
|
|
|
+ "postgres", "baomidou", "com.aizuda.boot.modules." + scannerNext("请输入模块名称"));
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 控制台输入内容读取并打印提示信息
|
|
|
*
|
|
|
* @param message 提示信息
|
|
|
- * @return
|
|
|
*/
|
|
|
public static String scannerNext(String message) {
|
|
|
System.out.println(message);
|