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