项目配置修改,并启动
This commit is contained in:
@@ -17,29 +17,29 @@ spring:
|
|||||||
strict: false
|
strict: false
|
||||||
datasource:
|
datasource:
|
||||||
user:
|
user:
|
||||||
url: jdbc:mysql://127.0.0.1:3306/tl_mall_user?characterEncoding=utf-8&useSSL=false
|
url: jdbc:mysql://124.222.155.192:3308/tl_mall_user?characterEncoding=utf-8&useSSL=false
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: Xiao196114.
|
||||||
goods:
|
goods:
|
||||||
url: jdbc:mysql://127.0.0.1:3306/tl_mall_goods?characterEncoding=utf-8&useSSL=false
|
url: jdbc:mysql://124.222.155.192:3308/tl_mall_goods?characterEncoding=utf-8&useSSL=false
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: Xiao196114.
|
||||||
promotion:
|
promotion:
|
||||||
url: jdbc:mysql://127.0.0.1:3306/tl_mall_promotion?characterEncoding=utf-8&useSSL=false
|
url: jdbc:mysql://124.222.155.192:3308/tl_mall_promotion?characterEncoding=utf-8&useSSL=false
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: Xiao196114.
|
||||||
normal:
|
normal:
|
||||||
url: jdbc:mysql://127.0.0.1:3306/tl_mall_normal?characterEncoding=utf-8&useSSL=false
|
url: jdbc:mysql://124.222.155.192:3308/tl_mall_normal?characterEncoding=utf-8&useSSL=false
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: Xiao196114.
|
||||||
order:
|
order:
|
||||||
url: jdbc:mysql://127.0.0.1:3306/tl_mall_order?characterEncoding=utf-8&useSSL=false
|
url: jdbc:mysql://124.222.155.192:3308/tl_mall_order?characterEncoding=utf-8&useSSL=false
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: Xiao196114.
|
||||||
# url: jdbc:mysql://192.168.65.71:3306/tl_mall_user?characterEncoding=utf-8&useSSL=false
|
# url: jdbc:mysql://192.168.65.71:3306/tl_mall_user?characterEncoding=utf-8&useSSL=false
|
||||||
# username: tlmall
|
# username: tlmall
|
||||||
# password: tlmall123
|
# password: tlmall123
|
||||||
@@ -48,7 +48,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
server-addr: 127.0.0.1:8848 #配置中心的地址
|
server-addr: 124.222.155.192:8848 #配置中心的地址
|
||||||
file-extension: yml #配置文件结尾的配置
|
file-extension: yml #配置文件结尾的配置
|
||||||
|
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
config:
|
config:
|
||||||
server-addr: 127.0.0.1:8848 #配置中心的地址
|
server-addr: 124.222.155.192:8848 #配置中心的地址
|
||||||
file-extension: yml #配置文件结尾的配置
|
file-extension: yml #配置文件结尾的配置
|
||||||
shared-configs[0]:
|
shared-configs[0]:
|
||||||
data-id: tulingmall-nacos.yml
|
data-id: tulingmall-nacos.yml
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
config:
|
config:
|
||||||
server-addr: 127.0.0.1:8848 #配置中心的地址
|
server-addr: 124.222.155.192:8848 #配置中心的地址
|
||||||
file-extension: yml #配置文件结尾的配置
|
file-extension: yml #配置文件结尾的配置
|
||||||
shared-configs[0]:
|
shared-configs[0]:
|
||||||
data-id: tulingmall-nacos.yml
|
data-id: tulingmall-nacos.yml
|
||||||
@@ -19,6 +19,6 @@ spring:
|
|||||||
group: DEFAULT_GROUP
|
group: DEFAULT_GROUP
|
||||||
refresh: true
|
refresh: true
|
||||||
discovery:
|
discovery:
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 124.222.155.192:8848
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: dev
|
||||||
@@ -6,7 +6,7 @@ spring:
|
|||||||
primary: cart
|
primary: cart
|
||||||
redis:
|
redis:
|
||||||
cluster:
|
cluster:
|
||||||
nodes: 218.76.8.107:8001,218.76.8.107:8002,218.76.8.107:8003
|
nodes: 124.222.155.192:6380,124.222.155.192:6381,124.222.155.192:6382
|
||||||
lettuce:
|
lettuce:
|
||||||
pool:
|
pool:
|
||||||
max-active: 8 # 连接池最大连接数(使用负值表示没有限制)
|
max-active: 8 # 连接池最大连接数(使用负值表示没有限制)
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
config:
|
config:
|
||||||
server-addr: 127.0.0.1:8848 #配置中心的地址
|
server-addr: 124.222.155.192:8848 #配置中心的地址
|
||||||
file-extension: yml #配置文件结尾的配置
|
file-extension: yml #配置文件结尾的配置
|
||||||
# shared-dataids: tulingmall-nacos.yml,tulingmall-db-common.yml #图灵商城公共配置
|
# shared-dataids: tulingmall-nacos.yml,tulingmall-db-common.yml #图灵商城公共配置
|
||||||
# refreshable-dataids: tulingmall-nacos.yml,tulingmall-db-common.yml
|
# refreshable-dataids: tulingmall-nacos.yml,tulingmall-db-common.yml
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
config:
|
config:
|
||||||
server-addr: 127.0.0.1:8848 #配置中心的地址
|
server-addr: 124.222.155.192:8848 #配置中心的地址
|
||||||
file-extension: yml #配置文件结尾的配置
|
file-extension: yml #配置文件结尾的配置
|
||||||
shared-configs[0]:
|
shared-configs[0]:
|
||||||
data-id: tulingmall-nacos.yml
|
data-id: tulingmall-nacos.yml
|
||||||
|
|||||||
@@ -42,4 +42,4 @@ spring:
|
|||||||
# max-idle: 8 # 连接池中的最大空闲连接
|
# max-idle: 8 # 连接池中的最大空闲连接
|
||||||
# min-idle: 0 # 连接池中的最小空闲连接
|
# min-idle: 0 # 连接池中的最小空闲连接
|
||||||
# timeout: 3000ms # 连接超时时间(毫秒)
|
# timeout: 3000ms # 连接超时时间(毫秒)
|
||||||
# password: 123456
|
# password: Xiao196114.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
config:
|
config:
|
||||||
server-addr: 127.0.0.1:8848 #配置中心的地址
|
server-addr: 124.222.155.192:8848 #配置中心的地址
|
||||||
file-extension: yml #配置文件结尾的配置
|
file-extension: yml #配置文件结尾的配置
|
||||||
shared-configs[0]:
|
shared-configs[0]:
|
||||||
data-id: tulingmall-nacos.yml
|
data-id: tulingmall-nacos.yml
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ spring:
|
|||||||
maxActive: 30
|
maxActive: 30
|
||||||
validationQuery: SELECT 1 FROM DUAL
|
validationQuery: SELECT 1 FROM DUAL
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: Xiao196114.
|
||||||
ds-slave:
|
ds-slave:
|
||||||
type: com.alibaba.druid.pool.DruidDataSource
|
type: com.alibaba.druid.pool.DruidDataSource
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
@@ -44,7 +44,7 @@ spring:
|
|||||||
maxActive: 30
|
maxActive: 30
|
||||||
validationQuery: SELECT 1 FROM DUAL
|
validationQuery: SELECT 1 FROM DUAL
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: Xiao196114.
|
||||||
sharding:
|
sharding:
|
||||||
default-data-source-name: ds-master
|
default-data-source-name: ds-master
|
||||||
default-database-strategy:
|
default-database-strategy:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
config:
|
config:
|
||||||
server-addr: 127.0.0.1:8848 #配置中心的地址
|
server-addr: 124.222.155.192:8848 #配置中心的地址
|
||||||
file-extension: yml #配置文件结尾的配置
|
file-extension: yml #配置文件结尾的配置
|
||||||
#shared-dataids: tulingmall-portal.yml #图灵商城公共配置
|
#shared-dataids: tulingmall-portal.yml #图灵商城公共配置
|
||||||
shared-configs[0]:
|
shared-configs[0]:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
config:
|
config:
|
||||||
server-addr: 127.0.0.1:8848 #配置中心的地址
|
server-addr: 124.222.155.192:8848 #配置中心的地址
|
||||||
file-extension: yml #配置文件结尾的配置
|
file-extension: yml #配置文件结尾的配置
|
||||||
#shared-dataids: tulingmall-portal.yml #图灵商城公共配置
|
#shared-dataids: tulingmall-portal.yml #图灵商城公共配置
|
||||||
shared-configs[0]:
|
shared-configs[0]:
|
||||||
@@ -10,7 +10,7 @@ spring:
|
|||||||
group: DEFAULT_GROUP
|
group: DEFAULT_GROUP
|
||||||
refresh: true
|
refresh: true
|
||||||
discovery:
|
discovery:
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 124.222.155.192:8848
|
||||||
application:
|
application:
|
||||||
name: tulingmall-order-history
|
name: tulingmall-order-history
|
||||||
profiles:
|
profiles:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
config:
|
config:
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 124.222.155.192:8848
|
||||||
file-extension: yml #配置文件结尾的配置
|
file-extension: yml #配置文件结尾的配置
|
||||||
#shared-dataids: tulingmall-portal.yml #图灵商城公共配置
|
#shared-dataids: tulingmall-portal.yml #图灵商城公共配置
|
||||||
shared-configs[0]:
|
shared-configs[0]:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
config:
|
config:
|
||||||
server-addr: 127.0.0.1:8848 #配置中心的地址
|
server-addr: 124.222.155.192:8848 #配置中心的地址
|
||||||
file-extension: yml #配置文件结尾的配置
|
file-extension: yml #配置文件结尾的配置
|
||||||
shared-configs[0]:
|
shared-configs[0]:
|
||||||
data-id: tulingmall-nacos.yml
|
data-id: tulingmall-nacos.yml
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
config:
|
config:
|
||||||
server-addr: 127.0.0.1:8848 #配置中心的地址
|
server-addr: 124.222.155.192:8848 #配置中心的地址
|
||||||
file-extension: yml #配置文件结尾的配置
|
file-extension: yml #配置文件结尾的配置
|
||||||
shared-configs[0]:
|
shared-configs[0]:
|
||||||
data-id: tulingmall-nacos.yml
|
data-id: tulingmall-nacos.yml
|
||||||
@@ -19,6 +19,6 @@ spring:
|
|||||||
group: DEFAULT_GROUP
|
group: DEFAULT_GROUP
|
||||||
refresh: true
|
refresh: true
|
||||||
discovery:
|
discovery:
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 124.222.155.192:8848
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: dev
|
||||||
@@ -34,7 +34,7 @@ spring:
|
|||||||
# #uris: 192.168.21.110:9300,192.168.21.113:9300,192.168.21.219:9300
|
# #uris: 192.168.21.110:9300,192.168.21.113:9300,192.168.21.219:9300
|
||||||
# uris: 192.168.21.219:9300
|
# uris: 192.168.21.219:9300
|
||||||
# username: elastic
|
# username: elastic
|
||||||
# password: 123456
|
# password: Xiao196114.
|
||||||
|
|
||||||
|
|
||||||
mybatis:
|
mybatis:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
config:
|
config:
|
||||||
server-addr: 127.0.0.1:8848 #配置中心的地址
|
server-addr: 124.222.155.192:8848 #配置中心的地址
|
||||||
file-extension: yml #配置文件结尾的配置
|
file-extension: yml #配置文件结尾的配置
|
||||||
# shared-dataids: tulingmall-nacos.yml,tulingmall-db-common.yml #图灵商城公共配置
|
# shared-dataids: tulingmall-nacos.yml,tulingmall-db-common.yml #图灵商城公共配置
|
||||||
# refreshable-dataids: tulingmall-nacos.yml,tulingmall-db-common.yml
|
# refreshable-dataids: tulingmall-nacos.yml,tulingmall-db-common.yml
|
||||||
@@ -17,7 +17,7 @@ spring:
|
|||||||
group: DEFAULT_GROUP
|
group: DEFAULT_GROUP
|
||||||
refresh: true
|
refresh: true
|
||||||
discovery:
|
discovery:
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 124.222.155.192:8848
|
||||||
profiles:
|
profiles:
|
||||||
active: dev
|
active: dev
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ spring:
|
|||||||
maxActive: 30
|
maxActive: 30
|
||||||
validationQuery: SELECT 1 FROM DUAL
|
validationQuery: SELECT 1 FROM DUAL
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: Xiao196114.
|
||||||
ds-slave:
|
ds-slave:
|
||||||
type: com.alibaba.druid.pool.DruidDataSource
|
type: com.alibaba.druid.pool.DruidDataSource
|
||||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
@@ -44,7 +44,7 @@ spring:
|
|||||||
maxActive: 30
|
maxActive: 30
|
||||||
validationQuery: SELECT 1 FROM DUAL
|
validationQuery: SELECT 1 FROM DUAL
|
||||||
username: root
|
username: root
|
||||||
password: 123456
|
password: Xiao196114.
|
||||||
sharding:
|
sharding:
|
||||||
default-data-source-name: ds-master
|
default-data-source-name: ds-master
|
||||||
default-database-strategy:
|
default-database-strategy:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
config:
|
config:
|
||||||
server-addr: 127.0.0.1:8848 #配置中心的地址
|
server-addr: 124.222.155.192:8848 #配置中心的地址
|
||||||
file-extension: yml #配置文件结尾的配置
|
file-extension: yml #配置文件结尾的配置
|
||||||
#shared-dataids: tulingmall-portal.yml #图灵商城公共配置
|
#shared-dataids: tulingmall-portal.yml #图灵商城公共配置
|
||||||
shared-configs[0]:
|
shared-configs[0]:
|
||||||
@@ -10,7 +10,7 @@ spring:
|
|||||||
group: DEFAULT_GROUP
|
group: DEFAULT_GROUP
|
||||||
refresh: true
|
refresh: true
|
||||||
discovery:
|
discovery:
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 124.222.155.192:8848
|
||||||
application:
|
application:
|
||||||
name: tulingmall-sk-order
|
name: tulingmall-sk-order
|
||||||
profiles:
|
profiles:
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ spring:
|
|||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 124.222.155.192:8848
|
||||||
main:
|
main:
|
||||||
allow-bean-definition-overriding: true
|
allow-bean-definition-overriding: true
|
||||||
#feign:
|
#feign:
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
leaf.name=com.tuling.tulingmall.unqid
|
leaf.name=com.tuling.tulingmall.unqid
|
||||||
leaf.segment.enable=true
|
leaf.segment.enable=true
|
||||||
leaf.jdbc.url=jdbc:mysql://127.0.0.1:3306/leaf?serverTimezone=GMT%2b8&autoReconnect=true&useUnicode=true&characterEncoding=utf-8&autocommit=false&useSSL=false
|
leaf.jdbc.url=jdbc:mysql://124.222.155.192:3308/leaf?serverTimezone=GMT%2b8&autoReconnect=true&useUnicode=true&characterEncoding=utf-8&autocommit=false&useSSL=false
|
||||||
leaf.jdbc.username=root
|
leaf.jdbc.username=root
|
||||||
leaf.jdbc.password=123456
|
leaf.jdbc.password=Xiao196114.
|
||||||
|
|
||||||
leaf.snowflake.enable=false
|
leaf.snowflake.enable=false
|
||||||
#leaf.snowflake.zk.address=
|
#leaf.snowflake.zk.address=
|
||||||
|
|||||||
Reference in New Issue
Block a user