Skip to content

Commit

Permalink
modified
Browse files Browse the repository at this point in the history
  • Loading branch information
codeyung committed Aug 21, 2020
1 parent d832a3d commit 40e9710
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/java/com/cy/generate/CodeGeneratorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class CodeGeneratorTest {
private static String author = "YongJingChuan";//创建人
private static String parentname = "com.cy.generate";//模块名

private static String dbUrl = "jdbc:mysql:https://140.143.11.131:3306/cf_limit?useUnicode=true&characterEncoding=UTF-8" +
private static String dbUrl = "jdbc:mysql:https://my.server.com:3306/cf_limit?useUnicode=true&characterEncoding=UTF-8" +
"&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=Hongkong";//数据库地址
// private static String driverName = "com.mysql.jdbc.Driver";//数据库驱动
private static String driverName = "com.mysql.cj.jdbc.Driver";//数据库驱动
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/com/cy/generate/MpGeneratorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ private void generate(String moduleName, String... tableNamesInclude) {

// 数据源配置
DataSourceConfig dsc = new DataSourceConfig();
dsc.setUrl("jdbc:mysql:https://140.143.11.131:3306/cf_limit?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=Hongkong");
dsc.setUrl("jdbc:mysql:https://my.server.com:3306/cf_limit?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false&serverTimezone=Hongkong");
// dsc.setSchemaName("public");
dsc.setDriverName("com.mysql.cj.jdbc.Driver");
dsc.setUsername("codeyung");
Expand Down

0 comments on commit 40e9710

Please sign in to comment.