mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-17 16:36:03 +08:00
[update] 更新配置参数和SQL内容
This commit is contained in:
@@ -6,9 +6,9 @@ spring:
|
||||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://host:3306/develop_xiaoyi_wumei?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
url: jdbc:mysql://localhost:3306/wumei-smart?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: 123456
|
||||
password: root
|
||||
# 从库数据源
|
||||
slave:
|
||||
# 从数据源开关/默认关闭
|
||||
@@ -54,4 +54,4 @@ spring:
|
||||
merge-sql: true
|
||||
wall:
|
||||
config:
|
||||
multi-statement-allow: true
|
||||
multi-statement-allow: true
|
||||
|
||||
@@ -18,7 +18,7 @@ ruoyi:
|
||||
# 开发环境配置
|
||||
server:
|
||||
# 服务器的HTTP端口,默认为8080
|
||||
port: 9160
|
||||
port: 8080
|
||||
servlet:
|
||||
# 应用的访问路径
|
||||
context-path: /
|
||||
@@ -82,8 +82,8 @@ spring:
|
||||
mqtt:
|
||||
username: admin # 账号
|
||||
password: admin # 密码
|
||||
host-url: tcp://host:1883 # mqtt连接tcp地址
|
||||
client-id: server-xiaoyi-${random.value} # 客户端Id,每个启动的id要不同 随机:${random.value}
|
||||
host-url: tcp://localhost:1883 # mqtt连接tcp地址
|
||||
client-id: server-wumei-${random.value} # 客户端Id,每个启动的id要不同 随机:${random.value}
|
||||
default-topic: test # 默认主题
|
||||
timeout: 100 # 超时时间
|
||||
keepalive: 100 # 保持连接数
|
||||
|
||||
Reference in New Issue
Block a user