Skip to content

Commit 8a1b1fe

Browse files
committed
Java:MultiDataSource 升级 APIJSON 及 apijson-framework 7.0.3,apijson-column 及 apijson-router 2.0.3
1 parent cc96875 commit 8a1b1fe

File tree

8 files changed

+7
-7
lines changed

8 files changed

+7
-7
lines changed
Binary file not shown.
Binary file not shown.

APIJSON-Java-Server/APIJSONBoot-MultiDataSource/pom.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>apijson.boot</groupId>
77
<artifactId>apijson-boot-multi-datasource</artifactId>
8-
<version>7.0.0</version>
8+
<version>7.0.3</version>
99
<packaging>jar</packaging>
1010

1111
<name>APIJSONBoot-MultiDataSource</name>
@@ -64,17 +64,17 @@
6464
<dependency>
6565
<groupId>com.github.APIJSON</groupId>
6666
<artifactId>apijson-framework</artifactId>
67-
<version>7.0.0</version>
67+
<version>7.0.3</version>
6868
</dependency>
6969
<dependency>
7070
<groupId>com.github.APIJSON</groupId>
7171
<artifactId>apijson-column</artifactId>
72-
<version>2.0.0</version>
72+
<version>2.0.3</version>
7373
</dependency>
7474
<dependency>
7575
<groupId>com.github.APIJSON</groupId>
7676
<artifactId>apijson-router</artifactId>
77-
<version>2.0.0</version>
77+
<version>2.0.3</version>
7878
</dependency>
7979
<!-- <dependency>-->
8080
<!-- <groupId>com.github.APIJSON</groupId>-->

APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson/boot/DemoApplication.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public static void main(String[] args) throws Exception {
102102
// SpringBoot 2.x 自定义端口方式
103103
@Override
104104
public void customize(ConfigurableServletWebServerFactory server) {
105-
server.setPort(9090);
105+
server.setPort(8080); // 9090);
106106
}
107107

108108
// 支持 APIAuto 中 JavaScript 代码跨域请求

APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson/demo/DemoSQLConfig.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ public String getUserIdKey(String database, String schema, String datasource, St
200200
@Override
201201
public String getDBVersion() {
202202
if (isMySQL()) {
203-
return "5.7.22"; //
204-
// return "8.0.11"; //TODO 改成你自己的 MySQL 或 PostgreSQL 数据库版本号 //MYSQL 8 和 7 使用的 JDBC 配置不一样
203+
// return "5.7.22"; //
204+
return "8.0.11"; //TODO 改成你自己的 MySQL 或 PostgreSQL 数据库版本号 //MYSQL 8 和 7 使用的 JDBC 配置不一样
205205
}
206206
if (isPostgreSQL()) {
207207
return "9.6.15"; //TODO 改成你自己的

0 commit comments

Comments
 (0)