From 3d0873851bb6c003e0ccc601c13bbf8199093394 Mon Sep 17 00:00:00 2001 From: XaoLi717 <144221124+XaoLi717@users.noreply.github.com> Date: Thu, 24 Oct 2024 08:09:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-server/src/main/resources/application-dev.yaml | 4 ++-- .../src/main/resources/application-local.yaml | 4 ++-- yudao-server/src/main/resources/application.yaml | 11 ++++++----- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/yudao-server/src/main/resources/application-dev.yaml b/yudao-server/src/main/resources/application-dev.yaml index c136b2f..6e57d3c 100644 --- a/yudao-server/src/main/resources/application-dev.yaml +++ b/yudao-server/src/main/resources/application-dev.yaml @@ -43,7 +43,7 @@ spring: primary: master datasource: master: - url: jdbc:mysql://140.143.164.40:3306/yudao-vue?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 + url: jdbc:mysql://192.168.1.28:3306/yudao-vue?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 username: root password: P@ss1pch slave: # 模拟从库,可根据自己需要修改 # 模拟从库,可根据自己需要修改 @@ -54,7 +54,7 @@ spring: # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优 redis: - host: 140.143.164.40 # 地址 + host: 192.168.1.28 # 地址 port: 6379 # 端口 database: 1 # 数据库索引 # password: 123456 # 密码,建议生产环境开启 diff --git a/yudao-server/src/main/resources/application-local.yaml b/yudao-server/src/main/resources/application-local.yaml index 725f3eb..5f35094 100644 --- a/yudao-server/src/main/resources/application-local.yaml +++ b/yudao-server/src/main/resources/application-local.yaml @@ -46,7 +46,7 @@ spring: primary: master datasource: master: - url: jdbc:mysql://140.143.164.40:3306/yudao-vue?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 + url: jdbc:mysql://192.168.1.28:3306/yudao-vue?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 # url: jdbc:mysql://192.168.1.28:3306/ruoyi-vue-pro?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai # MySQL Connector/J 5.X 连接的示例 # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例 @@ -71,7 +71,7 @@ spring: # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优 redis: - host: 140.143.164.40 # 地址140.143.164.40 + host: 192.168.1.28 # 地址140.143.164.40 port: 6379 # 端口 database: 0 # 数据库索引 password: 123456 diff --git a/yudao-server/src/main/resources/application.yaml b/yudao-server/src/main/resources/application.yaml index e4f3351..c353bc0 100644 --- a/yudao-server/src/main/resources/application.yaml +++ b/yudao-server/src/main/resources/application.yaml @@ -314,11 +314,12 @@ yudao: customer: E77DF18BE109F454A5CD319E44BF5177 debug: false -#本机的ip和端口号 + +#本机的ip和端口号重要记得都要更改 document: server: - host: 140.143.164.40:48080 -# host: 192.168.1.15:20053 +# host: 140.143.164.40:48080 + host: 192.168.1.15:48080 # docker的访问地址还有需要的配置 files: savePath: /root/ai/Docs/ @@ -327,8 +328,8 @@ files: edited-docs: .docx|.xlsx|.csv|.pptx|.txt viewed-docs: .pdf|.djvu|.xps url: -# site: http://192.168.1.15:7878/ - site: http://140.143.164.40:8098/ +# site: http://140.143.164.40:8098/ + site: http://192.168.1.28:8088/ converter: ConvertService.ashx command: coauthoring/CommandService.ashx api: web-apps/apps/api/documents/api.js