diff --git a/msgpush-module-infra/msgpush-module-infra-server/src/main/java/com/njcn/msgpush/module/infra/controller/admin/db/vo/DataSourceConfigRespVO.java b/msgpush-module-infra/msgpush-module-infra-server/src/main/java/com/njcn/msgpush/module/infra/controller/admin/db/vo/DataSourceConfigRespVO.java index 937bc81..96deedd 100644 --- a/msgpush-module-infra/msgpush-module-infra-server/src/main/java/com/njcn/msgpush/module/infra/controller/admin/db/vo/DataSourceConfigRespVO.java +++ b/msgpush-module-infra/msgpush-module-infra-server/src/main/java/com/njcn/msgpush/module/infra/controller/admin/db/vo/DataSourceConfigRespVO.java @@ -15,7 +15,7 @@ public class DataSourceConfigRespVO { @Schema(description = "数据源名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "test") private String name; - @Schema(description = "数据源连接", requiredMode = Schema.RequiredMode.REQUIRED, example = "jdbc:mysql://127.0.0.1:13306/ruoyi-vue-pro") + @Schema(description = "数据源连接", requiredMode = Schema.RequiredMode.REQUIRED, example = "jdbc:mysql://192.168.1.22:13306/msgpush") private String url; @Schema(description = "用户名", requiredMode = Schema.RequiredMode.REQUIRED, example = "root") diff --git a/msgpush-module-infra/msgpush-module-infra-server/src/main/java/com/njcn/msgpush/module/infra/controller/admin/db/vo/DataSourceConfigSaveReqVO.java b/msgpush-module-infra/msgpush-module-infra-server/src/main/java/com/njcn/msgpush/module/infra/controller/admin/db/vo/DataSourceConfigSaveReqVO.java index 83b71ba..f9b100d 100644 --- a/msgpush-module-infra/msgpush-module-infra-server/src/main/java/com/njcn/msgpush/module/infra/controller/admin/db/vo/DataSourceConfigSaveReqVO.java +++ b/msgpush-module-infra/msgpush-module-infra-server/src/main/java/com/njcn/msgpush/module/infra/controller/admin/db/vo/DataSourceConfigSaveReqVO.java @@ -16,7 +16,7 @@ public class DataSourceConfigSaveReqVO { @NotNull(message = "数据源名称不能为空") private String name; - @Schema(description = "数据源连接", requiredMode = Schema.RequiredMode.REQUIRED, example = "jdbc:mysql://127.0.0.1:13306/ruoyi-vue-pro") + @Schema(description = "数据源连接", requiredMode = Schema.RequiredMode.REQUIRED, example = "jdbc:mysql://192.168.1.22:13306/msgpush") @NotNull(message = "数据源连接不能为空") private String url; diff --git a/msgpush-module-infra/msgpush-module-infra-server/src/main/resources/application-dev.yaml b/msgpush-module-infra/msgpush-module-infra-server/src/main/resources/application-dev.yaml index 20235c8..3617d0e 100644 --- a/msgpush-module-infra/msgpush-module-infra-server/src/main/resources/application-dev.yaml +++ b/msgpush-module-infra/msgpush-module-infra-server/src/main/resources/application-dev.yaml @@ -57,7 +57,7 @@ spring: primary: master datasource: master: - url: jdbc:mysql://127.0.0.1:13306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 + url: jdbc:mysql://192.168.1.22:13306/msgpush?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 username: root password: njcnpqs diff --git a/msgpush-module-infra/msgpush-module-infra-server/src/main/resources/application-local.yaml b/msgpush-module-infra/msgpush-module-infra-server/src/main/resources/application-local.yaml index e0542c9..33985c3 100644 --- a/msgpush-module-infra/msgpush-module-infra-server/src/main/resources/application-local.yaml +++ b/msgpush-module-infra/msgpush-module-infra-server/src/main/resources/application-local.yaml @@ -58,7 +58,7 @@ spring: primary: master datasource: master: - url: jdbc:mysql://127.0.0.1:13306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 + url: jdbc:mysql://192.168.1.22:13306/msgpush?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 username: root password: njcnpqs diff --git a/msgpush-module-push/msgpush-module-push-server/src/main/resources/application-dev.yaml b/msgpush-module-push/msgpush-module-push-server/src/main/resources/application-dev.yaml index 20235c8..3617d0e 100644 --- a/msgpush-module-push/msgpush-module-push-server/src/main/resources/application-dev.yaml +++ b/msgpush-module-push/msgpush-module-push-server/src/main/resources/application-dev.yaml @@ -57,7 +57,7 @@ spring: primary: master datasource: master: - url: jdbc:mysql://127.0.0.1:13306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 + url: jdbc:mysql://192.168.1.22:13306/msgpush?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 username: root password: njcnpqs diff --git a/msgpush-module-push/msgpush-module-push-server/src/main/resources/application-local.yaml b/msgpush-module-push/msgpush-module-push-server/src/main/resources/application-local.yaml index e0542c9..33985c3 100644 --- a/msgpush-module-push/msgpush-module-push-server/src/main/resources/application-local.yaml +++ b/msgpush-module-push/msgpush-module-push-server/src/main/resources/application-local.yaml @@ -58,7 +58,7 @@ spring: primary: master datasource: master: - url: jdbc:mysql://127.0.0.1:13306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 + url: jdbc:mysql://192.168.1.22:13306/msgpush?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 username: root password: njcnpqs diff --git a/msgpush-module-system/msgpush-module-system-server/src/main/resources/application-dev.yaml b/msgpush-module-system/msgpush-module-system-server/src/main/resources/application-dev.yaml index 20235c8..3617d0e 100644 --- a/msgpush-module-system/msgpush-module-system-server/src/main/resources/application-dev.yaml +++ b/msgpush-module-system/msgpush-module-system-server/src/main/resources/application-dev.yaml @@ -57,7 +57,7 @@ spring: primary: master datasource: master: - url: jdbc:mysql://127.0.0.1:13306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 + url: jdbc:mysql://192.168.1.22:13306/msgpush?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 username: root password: njcnpqs diff --git a/msgpush-module-system/msgpush-module-system-server/src/main/resources/application-local.yaml b/msgpush-module-system/msgpush-module-system-server/src/main/resources/application-local.yaml index 36d3eaf..75990df 100644 --- a/msgpush-module-system/msgpush-module-system-server/src/main/resources/application-local.yaml +++ b/msgpush-module-system/msgpush-module-system-server/src/main/resources/application-local.yaml @@ -57,7 +57,7 @@ spring: primary: master datasource: master: - url: jdbc:mysql://127.0.0.1:13306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 + url: jdbc:mysql://192.168.1.22:13306/msgpush?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 username: root password: njcnpqs diff --git a/msgpush-server/src/main/resources/application-dev.yaml b/msgpush-server/src/main/resources/application-dev.yaml index ce01dcf..4b9b6f1 100644 --- a/msgpush-server/src/main/resources/application-dev.yaml +++ b/msgpush-server/src/main/resources/application-dev.yaml @@ -47,7 +47,7 @@ spring: primary: master datasource: master: - url: jdbc:mysql://127.0.0.1:13306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 + url: jdbc:mysql://192.168.1.22:13306/msgpush?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 username: root password: njcnpqs diff --git a/msgpush-server/src/main/resources/application-local.yaml b/msgpush-server/src/main/resources/application-local.yaml index 338c8ce..27f50b4 100644 --- a/msgpush-server/src/main/resources/application-local.yaml +++ b/msgpush-server/src/main/resources/application-local.yaml @@ -46,7 +46,7 @@ spring: primary: master datasource: master: - url: jdbc:mysql://127.0.0.1:13306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 + url: jdbc:mysql://192.168.1.22:13306/msgpush?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 username: root password: njcnpqs