From 94dbc7bd65aba756e5ea7af5e05560b67d5ad98d Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Thu, 27 Feb 2025 13:58:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=8C=85=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bootstrap-smart_canteen_local.yml | 45 ------------------- .../src/main/resources/bootstrap.yml | 2 +- ...l.yml => bootstrap-bonus_houqin_local.yml} | 6 +-- .../src/main/resources/bootstrap.yml | 2 +- 4 files changed, 5 insertions(+), 50 deletions(-) delete mode 100644 bonus-modules/bonus-shared-station/src/main/resources/bootstrap-smart_canteen_local.yml rename bonus-modules/bonus-smart-canteen/src/main/resources/{bootstrap-smart_canteen_local.yml => bootstrap-bonus_houqin_local.yml} (88%) diff --git a/bonus-modules/bonus-shared-station/src/main/resources/bootstrap-smart_canteen_local.yml b/bonus-modules/bonus-shared-station/src/main/resources/bootstrap-smart_canteen_local.yml deleted file mode 100644 index f14f3a3b..00000000 --- a/bonus-modules/bonus-shared-station/src/main/resources/bootstrap-smart_canteen_local.yml +++ /dev/null @@ -1,45 +0,0 @@ -# Tomcat -server: - port: 58691 - -# Spring -spring: - cloud: - nacos: - discovery: - # 服务注册地址 - server-addr: 127.0.0.1:8848 - namespace: smart_canteen - username: nacos - password: nacos - config: - # 配置中心地址 - server-addr: 127.0.0.1:8848 - namespace: smart_canteen - username: nacos - password: nacos - # 配置文件格式 - file-extension: yml - # 共享配置 - shared-configs: - - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} - -#加密组件 -jasypt: - encryptor: - password: Encrypt - -mybatis: - configuration: - map-underscore-to-camel-case: true - - -system: - sysfile: - prefixOffline: http://localhost:9000/lnyst - prefixOnline: http://localhost:9000/lnyst - bucket: /lnyst - - -oss: - endpoint: http://localhost:9000 diff --git a/bonus-modules/bonus-shared-station/src/main/resources/bootstrap.yml b/bonus-modules/bonus-shared-station/src/main/resources/bootstrap.yml index 6bf76615..39224337 100644 --- a/bonus-modules/bonus-shared-station/src/main/resources/bootstrap.yml +++ b/bonus-modules/bonus-shared-station/src/main/resources/bootstrap.yml @@ -5,7 +5,7 @@ spring: name: bonus-shared-station profiles: # 环境配置 - active: smart_canteen_local + active: bonus_houqin_local # active: bonus_houqin_local messages: basename: "message_device,message_account,message_adapter,message_allocation,message_attendance,message_auth,message_common,message_customer,message_dorm,message_drp,message_kitchen,message_marketing,message_menu,message_merchant,message_notice,message_nutrition,message_open,message_order,message_pay,message_report,message_supermarket,message_backfield,message_bus" diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/bootstrap-smart_canteen_local.yml b/bonus-modules/bonus-smart-canteen/src/main/resources/bootstrap-bonus_houqin_local.yml similarity index 88% rename from bonus-modules/bonus-smart-canteen/src/main/resources/bootstrap-smart_canteen_local.yml rename to bonus-modules/bonus-smart-canteen/src/main/resources/bootstrap-bonus_houqin_local.yml index 8a054aaa..a88cfc09 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/bootstrap-smart_canteen_local.yml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/bootstrap-bonus_houqin_local.yml @@ -1,6 +1,6 @@ # Tomcat server: - port: 58689 + port: 51689 # Spring spring: @@ -9,13 +9,13 @@ spring: discovery: # 服务注册地址 server-addr: 127.0.0.1:8848 - namespace: smart_canteen + namespace: bonus_houqin username: nacos password: nacos config: # 配置中心地址 server-addr: 127.0.0.1:8848 - namespace: smart_canteen + namespace: bonus_houqin username: nacos password: nacos # 配置文件格式 diff --git a/bonus-modules/bonus-smart-canteen/src/main/resources/bootstrap.yml b/bonus-modules/bonus-smart-canteen/src/main/resources/bootstrap.yml index b9964274..5a035db6 100644 --- a/bonus-modules/bonus-smart-canteen/src/main/resources/bootstrap.yml +++ b/bonus-modules/bonus-smart-canteen/src/main/resources/bootstrap.yml @@ -5,4 +5,4 @@ spring: name: bonus-smart-canteen profiles: # 环境配置 - active: smart_canteen_local + active: bonus_houqin_local