From b2280c5d95fd924ed76ea3a034cb145c8137f81e Mon Sep 17 00:00:00 2001 From: 1295801348 <57829159+1295801348@users.noreply.github.com> Date: Sat, 15 Jul 2023 01:03:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/admin/mall-admin-dev.yaml | 10 +++++----- config/demo/mall-demo-dev.yaml | 6 +++--- config/gateway/mall-gateway-dev.yaml | 4 ++-- config/portal/mall-portal-dev.yaml | 12 ++++++------ config/portal/mall-portal-prod.yaml | 2 +- config/search/mall-search-dev.yaml | 8 ++++---- document/sql/mall.sql | 2 +- mall-admin/src/main/resources/application.yml | 8 ++++---- mall-admin/src/main/resources/bootstrap-dev.yml | 4 ++-- mall-auth/src/main/resources/bootstrap-dev.yml | 4 ++-- mall-demo/src/main/resources/application.yml | 4 ++-- mall-demo/src/main/resources/bootstrap-dev.yml | 4 ++-- mall-gateway/src/main/resources/application.yml | 2 +- mall-gateway/src/main/resources/bootstrap-dev.yml | 4 ++-- mall-mbg/src/main/resources/generator.properties | 2 +- mall-monitor/src/main/resources/application-dev.yml | 2 +- mall-portal/src/main/resources/application.yml | 10 +++++----- mall-portal/src/main/resources/bootstrap-dev.yml | 4 ++-- mall-search/src/main/resources/application.yml | 6 +++--- mall-search/src/main/resources/bootstrap-dev.yml | 4 ++-- 20 files changed, 51 insertions(+), 51 deletions(-) diff --git a/config/admin/mall-admin-dev.yaml b/config/admin/mall-admin-dev.yaml index 07ae4a7a5..9674c2acb 100644 --- a/config/admin/mall-admin-dev.yaml +++ b/config/admin/mall-admin-dev.yaml @@ -12,17 +12,17 @@ aliyun: prefix: mall/images/ # 上传文件夹路径前缀 spring: datasource: - url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false + url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false username: root - password: root + password: wylzs8888 redis: - host: localhost # Redis服务器地址 + host: 121.37.12.183 # Redis服务器地址 database: 0 # Redis数据库索引(默认为0) port: 6379 # Redis服务器连接端口 password: # Redis服务器连接密码(默认为空) timeout: 3000ms # 连接超时时间(毫秒) minio: - endpoint: http://localhost:9000 #MinIO服务所在地址 + endpoint: http://121.37.12.183:9000 #MinIO服务所在地址 bucketName: mall #存储桶名称 accessKey: minioadmin #访问的key secretKey: minioadmin #访问的秘钥 @@ -31,4 +31,4 @@ logging: root: info com.macro.mall: debug logstash: - host: localhost \ No newline at end of file + host: 121.37.12.183 \ No newline at end of file diff --git a/config/demo/mall-demo-dev.yaml b/config/demo/mall-demo-dev.yaml index 7a9137fe5..53d8817e3 100644 --- a/config/demo/mall-demo-dev.yaml +++ b/config/demo/mall-demo-dev.yaml @@ -1,11 +1,11 @@ spring: datasource: - url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false + url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false username: root - password: root + password: wylzs8888 logging: level: root: info com.macro.mall: debug logstash: - host: localhost \ No newline at end of file + host: 121.37.12.183 \ No newline at end of file diff --git a/config/gateway/mall-gateway-dev.yaml b/config/gateway/mall-gateway-dev.yaml index 38661e406..9ed360bb8 100644 --- a/config/gateway/mall-gateway-dev.yaml +++ b/config/gateway/mall-gateway-dev.yaml @@ -1,6 +1,6 @@ spring: redis: - host: localhost # Redis服务器地址 + host: 121.37.12.183 # Redis服务器地址 database: 0 # Redis数据库索引(默认为0) port: 6379 # Redis服务器连接端口 password: # Redis服务器连接密码(默认为空) @@ -15,4 +15,4 @@ logging: root: info com.macro.mall: debug logstash: - host: localhost \ No newline at end of file + host: 121.37.12.183 \ No newline at end of file diff --git a/config/portal/mall-portal-dev.yaml b/config/portal/mall-portal-dev.yaml index f1b5db9c9..0533370a7 100644 --- a/config/portal/mall-portal-dev.yaml +++ b/config/portal/mall-portal-dev.yaml @@ -1,20 +1,20 @@ spring: datasource: - url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false + url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false username: root - password: root + password: wylzs8888 data: mongodb: - host: localhost + host: 121.37.12.183 port: 27017 database: mall-port redis: - host: localhost # Redis服务器地址 + host: 121.37.12.183 # Redis服务器地址 database: 0 # Redis数据库索引(默认为0) port: 6379 # Redis服务器连接端口 password: # Redis服务器连接密码(默认为空) rabbitmq: - host: localhost + host: 121.37.12.183 port: 5672 virtual-host: /mall username: mall @@ -25,4 +25,4 @@ logging: root: info com.macro.mall: debug logstash: - host: localhost \ No newline at end of file + host: 121.37.12.183 \ No newline at end of file diff --git a/config/portal/mall-portal-prod.yaml b/config/portal/mall-portal-prod.yaml index c82c036e9..0ffbc763a 100644 --- a/config/portal/mall-portal-prod.yaml +++ b/config/portal/mall-portal-prod.yaml @@ -2,7 +2,7 @@ spring: datasource: url: jdbc:mysql://db:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false username: root - password: root + password: wylzs8888 data: mongodb: host: mongo diff --git a/config/search/mall-search-dev.yaml b/config/search/mall-search-dev.yaml index 8d5664954..46ab843de 100644 --- a/config/search/mall-search-dev.yaml +++ b/config/search/mall-search-dev.yaml @@ -1,13 +1,13 @@ spring: datasource: - url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai + url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai username: root - password: root + password: wylzs8888 elasticsearch: - uris: localhost:9200 + uris: 121.37.12.183:9200 logging: level: root: info com.macro.mall: debug logstash: - host: localhost \ No newline at end of file + host: 121.37.12.183 \ No newline at end of file diff --git a/document/sql/mall.sql b/document/sql/mall.sql index 1dbb99318..9aa529c58 100644 --- a/document/sql/mall.sql +++ b/document/sql/mall.sql @@ -3,7 +3,7 @@ Navicat MySQL Data Transfer Source Server : localhost Source Server Version : 50719 -Source Host : localhost:3306 +Source Host : 121.37.12.183:6603 Source Database : mall Target Server Type : MYSQL diff --git a/mall-admin/src/main/resources/application.yml b/mall-admin/src/main/resources/application.yml index 1232c09c2..5501921ec 100644 --- a/mall-admin/src/main/resources/application.yml +++ b/mall-admin/src/main/resources/application.yml @@ -5,9 +5,9 @@ spring: pathmatch: matching-strategy: ant_path_matcher datasource: - url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false + url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false username: root - password: root + password: wylzs8888 druid: initial-size: 5 #连接池初始化大小 min-idle: 10 #最小空闲连接数 @@ -18,13 +18,13 @@ spring: login-username: druid login-password: druid redis: - host: localhost # Redis服务器地址 + host: 121.37.12.183 # Redis服务器地址 database: 0 # Redis数据库索引(默认为0) port: 6379 # Redis服务器连接端口 password: # Redis服务器连接密码(默认为空) timeout: 3000ms # 连接超时时间(毫秒) rabbitmq: #rabbitmq相关配置 - host: localhost + host: 121.37.12.183 port: 5672 username: guest password: guest diff --git a/mall-admin/src/main/resources/bootstrap-dev.yml b/mall-admin/src/main/resources/bootstrap-dev.yml index 365fbbac6..d07c5f098 100644 --- a/mall-admin/src/main/resources/bootstrap-dev.yml +++ b/mall-admin/src/main/resources/bootstrap-dev.yml @@ -2,7 +2,7 @@ spring: cloud: nacos: discovery: - server-addr: http://localhost:8848 + server-addr: http://121.37.12.183:8848 config: - server-addr: http://localhost:8848 + server-addr: http://121.37.12.183:8848 file-extension: yaml \ No newline at end of file diff --git a/mall-auth/src/main/resources/bootstrap-dev.yml b/mall-auth/src/main/resources/bootstrap-dev.yml index d9d496add..8a0198225 100644 --- a/mall-auth/src/main/resources/bootstrap-dev.yml +++ b/mall-auth/src/main/resources/bootstrap-dev.yml @@ -2,9 +2,9 @@ spring: cloud: nacos: discovery: - server-addr: http://localhost:8848 + server-addr: http://121.37.12.183:8848 config: - server-addr: http://localhost:8848 + server-addr: http://121.37.12.183:8848 file-extension: yaml logging: level: diff --git a/mall-demo/src/main/resources/application.yml b/mall-demo/src/main/resources/application.yml index 6d23634e5..8ee97147d 100644 --- a/mall-demo/src/main/resources/application.yml +++ b/mall-demo/src/main/resources/application.yml @@ -5,9 +5,9 @@ spring: pathmatch: matching-strategy: ant_path_matcher datasource: - url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false + url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false username: root - password: root + password: wylzs8888 mybatis: mapper-locations: - classpath:mapper/*.xml diff --git a/mall-demo/src/main/resources/bootstrap-dev.yml b/mall-demo/src/main/resources/bootstrap-dev.yml index 365fbbac6..d07c5f098 100644 --- a/mall-demo/src/main/resources/bootstrap-dev.yml +++ b/mall-demo/src/main/resources/bootstrap-dev.yml @@ -2,7 +2,7 @@ spring: cloud: nacos: discovery: - server-addr: http://localhost:8848 + server-addr: http://121.37.12.183:8848 config: - server-addr: http://localhost:8848 + server-addr: http://121.37.12.183:8848 file-extension: yaml \ No newline at end of file diff --git a/mall-gateway/src/main/resources/application.yml b/mall-gateway/src/main/resources/application.yml index cc55c53ac..71a75e172 100644 --- a/mall-gateway/src/main/resources/application.yml +++ b/mall-gateway/src/main/resources/application.yml @@ -49,7 +49,7 @@ spring: redis: database: 0 port: 6379 - host: localhost + host: 121.37.12.183 password: secure: ignore: diff --git a/mall-gateway/src/main/resources/bootstrap-dev.yml b/mall-gateway/src/main/resources/bootstrap-dev.yml index 365fbbac6..d07c5f098 100644 --- a/mall-gateway/src/main/resources/bootstrap-dev.yml +++ b/mall-gateway/src/main/resources/bootstrap-dev.yml @@ -2,7 +2,7 @@ spring: cloud: nacos: discovery: - server-addr: http://localhost:8848 + server-addr: http://121.37.12.183:8848 config: - server-addr: http://localhost:8848 + server-addr: http://121.37.12.183:8848 file-extension: yaml \ No newline at end of file diff --git a/mall-mbg/src/main/resources/generator.properties b/mall-mbg/src/main/resources/generator.properties index 173547bb7..9ec192f98 100644 --- a/mall-mbg/src/main/resources/generator.properties +++ b/mall-mbg/src/main/resources/generator.properties @@ -1,4 +1,4 @@ jdbc.driverClass=com.mysql.cj.jdbc.Driver -jdbc.connectionURL=jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai +jdbc.connectionURL=jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai jdbc.userId=root jdbc.password=root \ No newline at end of file diff --git a/mall-monitor/src/main/resources/application-dev.yml b/mall-monitor/src/main/resources/application-dev.yml index a7c40c641..fc6bed645 100644 --- a/mall-monitor/src/main/resources/application-dev.yml +++ b/mall-monitor/src/main/resources/application-dev.yml @@ -2,4 +2,4 @@ spring: cloud: nacos: discovery: - server-addr: http://localhost:8848 + server-addr: http://121.37.12.183:8848 diff --git a/mall-portal/src/main/resources/application.yml b/mall-portal/src/main/resources/application.yml index 349b335ef..7b425b405 100644 --- a/mall-portal/src/main/resources/application.yml +++ b/mall-portal/src/main/resources/application.yml @@ -5,9 +5,9 @@ spring: pathmatch: matching-strategy: ant_path_matcher datasource: - url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false + url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false username: root - password: root + password: wylzs8888 druid: initial-size: 5 #连接池初始化大小 min-idle: 10 #最小空闲连接数 @@ -19,17 +19,17 @@ spring: login-password: druid data: mongodb: - host: localhost + host: 121.37.12.183 port: 27017 database: mall-port redis: - host: localhost # Redis服务器地址 + host: 121.37.12.183 # Redis服务器地址 database: 0 # Redis数据库索引(默认为0) port: 6379 # Redis服务器连接端口 password: # Redis服务器连接密码(默认为空) timeout: 3000ms # 连接超时时间(毫秒) rabbitmq: - host: localhost + host: 121.37.12.183 port: 5672 virtual-host: /mall username: mall diff --git a/mall-portal/src/main/resources/bootstrap-dev.yml b/mall-portal/src/main/resources/bootstrap-dev.yml index 365fbbac6..d07c5f098 100644 --- a/mall-portal/src/main/resources/bootstrap-dev.yml +++ b/mall-portal/src/main/resources/bootstrap-dev.yml @@ -2,7 +2,7 @@ spring: cloud: nacos: discovery: - server-addr: http://localhost:8848 + server-addr: http://121.37.12.183:8848 config: - server-addr: http://localhost:8848 + server-addr: http://121.37.12.183:8848 file-extension: yaml \ No newline at end of file diff --git a/mall-search/src/main/resources/application.yml b/mall-search/src/main/resources/application.yml index f8f93044e..5d6d39563 100644 --- a/mall-search/src/main/resources/application.yml +++ b/mall-search/src/main/resources/application.yml @@ -5,9 +5,9 @@ spring: pathmatch: matching-strategy: ant_path_matcher datasource: - url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false + url: jdbc:mysql://121.37.12.183:6603/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false username: root - password: root + password: wylzs8888 druid: initial-size: 5 #连接池初始化大小 min-idle: 10 #最小空闲连接数 @@ -22,7 +22,7 @@ spring: repositories: enabled: true elasticsearch: - uris: localhost:9200 + uris: 121.37.12.183:9200 mybatis: mapper-locations: - classpath:dao/*.xml diff --git a/mall-search/src/main/resources/bootstrap-dev.yml b/mall-search/src/main/resources/bootstrap-dev.yml index 365fbbac6..d07c5f098 100644 --- a/mall-search/src/main/resources/bootstrap-dev.yml +++ b/mall-search/src/main/resources/bootstrap-dev.yml @@ -2,7 +2,7 @@ spring: cloud: nacos: discovery: - server-addr: http://localhost:8848 + server-addr: http://121.37.12.183:8848 config: - server-addr: http://localhost:8848 + server-addr: http://121.37.12.183:8848 file-extension: yaml \ No newline at end of file