13693261870
2025-07-02 47cb9f0fd15b264687eff3992b72150030e99e57
se-gateway/src/main/resources/bootstrap.yml
@@ -1,12 +1,14 @@
# Tomcat
server:
  port: 8080
  port: 8001
# Spring
spring: 
  application:
    # 应用名称
    name: se-gateway
  main:
    web-application-type: reactive
  profiles:
    # 环境配置
    active: dev
@@ -18,13 +20,17 @@
        # 服务注册地址
        server-addr: 127.0.0.1:8848
      config:
        group: JHS_GROUP
        # 配置中心地址
        server-addr: 127.0.0.1:8848
        # 配置文件格式
        file-extension: yml
        # 共享配置
        shared-configs:
          - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
          - data-id: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
            group: JHS_GROUP
        # 允许刷新
        refresh-enabled: true
    sentinel:
      # 取消控制台懒加载
      eager: true