随笔分类 -  springcloud

摘要:作用: 实现配置热更新 实现网关配置热部署 配置模板 spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://${db.gulimall.host:192.168.229.128}:${db. 阅读全文
posted @ 2023-10-24 10:36 海山了- 阅读(8) 评论(0) 推荐(0) 编辑
摘要:基础模板 spring: cloud: gateway: routes: -id: gulimall-search # 别重复就行 uri: lb://gulimall-search #对应微服务的applicationName predicates: - Path=/api/search/** p 阅读全文
posted @ 2023-10-24 10:33 海山了- 阅读(21) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示