Commit ae963669 authored by YazhouChen's avatar YazhouChen

创建项目

parent 4efc57da
......@@ -43,13 +43,13 @@ public class SpringBootPlusGenerator {
// 设置基本信息
generatorProperties
.setMavenModuleName("hongxinhui")//example //system
.setMavenModuleName("newnms")//example //system
.setParentPackage("com.hongxinhui")//com.admin //io.geekidea.springbootplus.system
.setAuthor("cyz")
.setFileOverride(true);
// 设置表信息
generatorProperties.addTable("news","ID");
generatorProperties.addTable("user","id");
// 数据源配置
generatorProperties.getDataSourceConfig()
......@@ -57,7 +57,7 @@ public class SpringBootPlusGenerator {
.setUsername("root")
.setPassword("changfa123$")
.setDriverName("com.mysql.jdbc.Driver")
.setUrl("jdbc:mysql://114.67.82.178:3306/hxh?useUnicode=true&characterEncoding=UTF-8&useSSL=false");
.setUrl("jdbc:mysql://114.67.82.178:3306/newnms?useUnicode=true&characterEncoding=UTF-8&useSSL=false");
// 生成配置
generatorProperties.getGeneratorConfig()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment