浏览代码

fix bug

release
xiaohanzi 3 年前
父节点
当前提交
0d3e675603
共有 2 个文件被更改,包括 5 次插入3 次删除
  1. +2
    -2
      config-server/src/main/resources/yml-config/service-org-dev.yml
  2. +3
    -1
      service-org/src/main/resources/bootstrap.yml

+ 2
- 2
config-server/src/main/resources/yml-config/service-org-dev.yml 查看文件

@@ -13,8 +13,8 @@ logging:


#DataSource配置,默认主数据源 #DataSource配置,默认主数据源
spring: spring:
# profiles:
# include: rabbitmq
profiles:
include: rabbitmq
datasource: datasource:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.jdbc.Driver driverClassName: com.mysql.jdbc.Driver


+ 3
- 1
service-org/src/main/resources/bootstrap.yml 查看文件

@@ -3,7 +3,9 @@ spring:
name: service-org name: service-org
cloud: cloud:
config: config:
uri: http://config:1001/
#docker config
#uri: http://config:1001/
uri: http://localhost:1001
profile: dev profile: dev
name: service-org name: service-org
server: server:

正在加载...
取消
保存