[update] 更新配置参数和SQL内容

This commit is contained in:
xiaoyi
2021-11-24 11:02:08 +08:00
parent 9cd0c02dfc
commit b9cddf96a8
4 changed files with 2067 additions and 3371 deletions

View File

@@ -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

View File

@@ -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 # 保持连接数

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff