# Tomcat server: port: 18080 servlet: context-path: ljzhgd # Spring spring: application: # 应用名称 name: bonus-gateway profiles: # 环境配置 active: dev cloud: nacos: username: nacos password: ENC(b8K5x5rjN7qdGdmhgzFayK/P6ZVbC/UNBHjx2SBJkoqU149aXRtJsFhDZcgpckFf) discovery: # 服务注册地址 server-addr: 127.0.0.1:8848 namespace: ljzhgd config: # 配置中心地址 server-addr: 127.0.0.1:8848 namespace: ljzhgd # 配置文件格式 file-extension: yml # 共享配置 shared-configs: - application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension} sentinel: # 取消控制台懒加载 eager: true transport: # 控制台地址 dashboard: 127.0.0.1:8848 # nacos配置持久化 datasource: ds1: nacos: username: nacos password: Jjsp@nacos2023 server-addr: 127.0.0.1:8848 namespace: ljzhgd dataId: sentinel-bonus-gateway groupId: DEFAULT_GROUP data-type: json rule-type: gw-flow #系统 自动 加解密开关 system: #返回数据加密 jia-enable: false # 接收数据解密 jie-enable: true #加密组件 jasypt: encryptor: password: Encrypt