From 0da4f1f8d4ad95b7dd9d7773734589e14f31ba4a Mon Sep 17 00:00:00 2001 From: gyb Date: Wed, 4 Mar 2026 16:41:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=A2=9E=E5=8A=A0=E6=97=A0=E4=BA=BA?= =?UTF-8?q?=E6=9C=BA=E7=B1=BB=E5=9E=8B=E8=B4=9F=E8=BD=BD=E5=B1=9E=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/bootstrap.yml | 6 +++--- src/main/resources/tuoheng-airline-dev.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/resources/bootstrap.yml b/src/main/resources/bootstrap.yml index c5641c6..b7c953c 100644 --- a/src/main/resources/bootstrap.yml +++ b/src/main/resources/bootstrap.yml @@ -9,7 +9,7 @@ spring: name: tuoheng-airline profiles: # 环境配置 - active: prod + active: dev flyway: table: flyway_airline_schema_history # 自定义历史表名 baseline-on-migrate: true # 在nocos中也有配置 @@ -18,10 +18,10 @@ spring: nacos: discovery: # 服务注册地址 - server-addr: ruoyi-nacos:8848 + server-addr: 45.120.103.238:8848 config: # 配置中心地址 - server-addr: ruoyi-nacos:8848 + server-addr: 45.120.103.238:8848 # 配置文件格式 file-extension: yml # 共享配置 diff --git a/src/main/resources/tuoheng-airline-dev.yml b/src/main/resources/tuoheng-airline-dev.yml index cfbe86e..9bb7f01 100644 --- a/src/main/resources/tuoheng-airline-dev.yml +++ b/src/main/resources/tuoheng-airline-dev.yml @@ -33,9 +33,9 @@ spring: # 主库数据源 master: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://127.0.0.1:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://45.120.103.238:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 username: root - password: Root123 + password: password # mybatis配置 mybatis: @@ -46,7 +46,7 @@ mybatis: # springdoc配置 springdoc: - gatewayUrl: http://ruoyi-gateway:8080/${spring.application.name} + gatewayUrl: http://45.120.103.238:8080/${spring.application.name} api-docs: # 是否开启接口文档 enabled: true