Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
mqttsnet
thinglinks
提交
60f070c0
thinglinks
项目概览
mqttsnet
/
thinglinks
通知
1
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
thinglinks
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
60f070c0
编写于
9月 25, 2021
作者:
xiaonannet
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
版本修复
上级
7da43e92
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
17 addition
and
17 deletion
+17
-17
mqtts-api/mqtts-api-system/src/main/resources/META-INF/spring.factories
...s-api-system/src/main/resources/META-INF/spring.factories
+3
-3
mqtts-auth/src/main/resources/logback.xml
mqtts-auth/src/main/resources/logback.xml
+1
-1
mqtts-gateway/src/main/java/net/mqtts/gateway/config/CaptchaConfig.java
...src/main/java/net/mqtts/gateway/config/CaptchaConfig.java
+1
-1
mqtts-gateway/src/main/resources/logback.xml
mqtts-gateway/src/main/resources/logback.xml
+1
-1
pom.xml
pom.xml
+8
-8
sql/mqtts_config_20210730.sql
sql/mqtts_config_20210730.sql
+3
-3
未找到文件。
mqtts-api/mqtts-api-system/src/main/resources/META-INF/spring.factories
浏览文件 @
60f070c0
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
com
.mqtts.system.api.factory.RemoteUserFallbackFactory,\
net
.mqtts.system.api.factory.RemoteUserFallbackFactory,\
com
.mqtts.system.api.factory.RemoteLogFallbackFactory, \
net
.mqtts.system.api.factory.RemoteLogFallbackFactory, \
com
.mqtts.system.api.factory.RemoteFileFallbackFactory
net
.mqtts.system.api.factory.RemoteFileFallbackFactory
mqtts-auth/src/main/resources/logback.xml
浏览文件 @
60f070c0
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
</appender>
</appender>
<!-- 系统模块日志级别控制 -->
<!-- 系统模块日志级别控制 -->
<logger
name=
"
com
.mqtts"
level=
"info"
/>
<logger
name=
"
net
.mqtts"
level=
"info"
/>
<!-- Spring日志级别控制 -->
<!-- Spring日志级别控制 -->
<logger
name=
"org.springframework"
level=
"warn"
/>
<logger
name=
"org.springframework"
level=
"warn"
/>
...
...
mqtts-gateway/src/main/java/net/mqtts/gateway/config/CaptchaConfig.java
浏览文件 @
60f070c0
...
@@ -63,7 +63,7 @@ public class CaptchaConfig
...
@@ -63,7 +63,7 @@ public class CaptchaConfig
// KAPTCHA_SESSION_KEY
// KAPTCHA_SESSION_KEY
properties
.
setProperty
(
KAPTCHA_SESSION_CONFIG_KEY
,
"kaptchaCodeMath"
);
properties
.
setProperty
(
KAPTCHA_SESSION_CONFIG_KEY
,
"kaptchaCodeMath"
);
// 验证码文本生成器
// 验证码文本生成器
properties
.
setProperty
(
KAPTCHA_TEXTPRODUCER_IMPL
,
"
com
.mqtts.gateway.config.KaptchaTextCreator"
);
properties
.
setProperty
(
KAPTCHA_TEXTPRODUCER_IMPL
,
"
net
.mqtts.gateway.config.KaptchaTextCreator"
);
// 验证码文本字符间距 默认为2
// 验证码文本字符间距 默认为2
properties
.
setProperty
(
KAPTCHA_TEXTPRODUCER_CHAR_SPACE
,
"3"
);
properties
.
setProperty
(
KAPTCHA_TEXTPRODUCER_CHAR_SPACE
,
"3"
);
// 验证码文本字符长度 默认为5
// 验证码文本字符长度 默认为5
...
...
mqtts-gateway/src/main/resources/logback.xml
浏览文件 @
60f070c0
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
</appender>
</appender>
<!-- 系统模块日志级别控制 -->
<!-- 系统模块日志级别控制 -->
<logger
name=
"
com
.mqtts"
level=
"info"
/>
<logger
name=
"
net
.mqtts"
level=
"info"
/>
<!-- Spring日志级别控制 -->
<!-- Spring日志级别控制 -->
<logger
name=
"org.springframework"
level=
"warn"
/>
<logger
name=
"org.springframework"
level=
"warn"
/>
...
...
pom.xml
浏览文件 @
60f070c0
...
@@ -182,56 +182,56 @@
...
@@ -182,56 +182,56 @@
<!-- 核心模块 -->
<!-- 核心模块 -->
<dependency>
<dependency>
<groupId>
com
.mqtts
</groupId>
<groupId>
net
.mqtts
</groupId>
<artifactId>
mqtts-common-core
</artifactId>
<artifactId>
mqtts-common-core
</artifactId>
<version>
${mqtts.version}
</version>
<version>
${mqtts.version}
</version>
</dependency>
</dependency>
<!-- 接口模块 -->
<!-- 接口模块 -->
<dependency>
<dependency>
<groupId>
com
.mqtts
</groupId>
<groupId>
net
.mqtts
</groupId>
<artifactId>
mqtts-common-swagger
</artifactId>
<artifactId>
mqtts-common-swagger
</artifactId>
<version>
${mqtts.version}
</version>
<version>
${mqtts.version}
</version>
</dependency>
</dependency>
<!-- 安全模块 -->
<!-- 安全模块 -->
<dependency>
<dependency>
<groupId>
com
.mqtts
</groupId>
<groupId>
net
.mqtts
</groupId>
<artifactId>
mqtts-common-security
</artifactId>
<artifactId>
mqtts-common-security
</artifactId>
<version>
${mqtts.version}
</version>
<version>
${mqtts.version}
</version>
</dependency>
</dependency>
<!-- 权限范围 -->
<!-- 权限范围 -->
<dependency>
<dependency>
<groupId>
com
.mqtts
</groupId>
<groupId>
net
.mqtts
</groupId>
<artifactId>
mqtts-common-datascope
</artifactId>
<artifactId>
mqtts-common-datascope
</artifactId>
<version>
${mqtts.version}
</version>
<version>
${mqtts.version}
</version>
</dependency>
</dependency>
<!-- 多数据源 -->
<!-- 多数据源 -->
<dependency>
<dependency>
<groupId>
com
.mqtts
</groupId>
<groupId>
net
.mqtts
</groupId>
<artifactId>
mqtts-common-datasource
</artifactId>
<artifactId>
mqtts-common-datasource
</artifactId>
<version>
${mqtts.version}
</version>
<version>
${mqtts.version}
</version>
</dependency>
</dependency>
<!-- 日志记录 -->
<!-- 日志记录 -->
<dependency>
<dependency>
<groupId>
com
.mqtts
</groupId>
<groupId>
net
.mqtts
</groupId>
<artifactId>
mqtts-common-log
</artifactId>
<artifactId>
mqtts-common-log
</artifactId>
<version>
${mqtts.version}
</version>
<version>
${mqtts.version}
</version>
</dependency>
</dependency>
<!-- 缓存服务 -->
<!-- 缓存服务 -->
<dependency>
<dependency>
<groupId>
com
.mqtts
</groupId>
<groupId>
net
.mqtts
</groupId>
<artifactId>
mqtts-common-redis
</artifactId>
<artifactId>
mqtts-common-redis
</artifactId>
<version>
${mqtts.version}
</version>
<version>
${mqtts.version}
</version>
</dependency>
</dependency>
<!-- 系统接口 -->
<!-- 系统接口 -->
<dependency>
<dependency>
<groupId>
com
.mqtts
</groupId>
<groupId>
net
.mqtts
</groupId>
<artifactId>
mqtts-api-system
</artifactId>
<artifactId>
mqtts-api-system
</artifactId>
<version>
${mqtts.version}
</version>
<version>
${mqtts.version}
</version>
</dependency>
</dependency>
...
...
sql/mqtts_config_20210730.sql
浏览文件 @
60f070c0
...
@@ -36,9 +36,9 @@ insert into config_info(id, data_id, group_id, content, md5, gmt_create, gmt_mod
...
@@ -36,9 +36,9 @@ insert into config_info(id, data_id, group_id, content, md5, gmt_create, gmt_mod
(
2
,
'mqtts-gateway-dev.yml'
,
'DEFAULT_GROUP'
,
'spring:
\n
redis:
\n
host: localhost
\n
port: 6379
\n
password:
\n
cloud:
\n
gateway:
\n
discovery:
\n
locator:
\n
lowerCaseServiceId: true
\n
enabled: true
\n
routes:
\n
# 认证中心
\n
- id: mqtts-auth
\n
uri: lb://mqtts-auth
\n
predicates:
\n
- Path=/auth/**
\n
filters:
\n
# 验证码处理
\n
- CacheRequestFilter
\n
- ValidateCodeFilter
\n
- StripPrefix=1
\n
# 代码生成
\n
- id: mqtts-gen
\n
uri: lb://mqtts-gen
\n
predicates:
\n
- Path=/code/**
\n
filters:
\n
- StripPrefix=1
\n
# 定时任务
\n
- id: mqtts-job
\n
uri: lb://mqtts-job
\n
predicates:
\n
- Path=/schedule/**
\n
filters:
\n
- StripPrefix=1
\n
# 系统模块
\n
- id: mqtts-system
\n
uri: lb://mqtts-system
\n
predicates:
\n
- Path=/system/**
\n
filters:
\n
- StripPrefix=1
\n
# 文件服务
\n
- id: mqtts-file
\n
uri: lb://mqtts-file
\n
predicates:
\n
- Path=/file/**
\n
filters:
\n
- StripPrefix=1
\n\n
# 安全配置
\n
security:
\n
# 验证码
\n
captcha:
\n
enabled: true
\n
type: math
\n
# 防止XSS攻击
\n
xss:
\n
enabled: true
\n
excludeUrls:
\n
- /system/notice
\n
# 不校验白名单
\n
ignore:
\n
whites:
\n
- /auth/logout
\n
- /auth/login
\n
- /auth/register
\n
- /*/v2/api-docs
\n
- /csrf
\n
'
,
'2f5a6b5a4ccf20b5801c5cf842456ec6'
,
'2020-05-14 14:17:55'
,
'2021-07-30 09:07:14'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'网关模块'
,
'null'
,
'null'
,
'yaml'
,
'null'
),
(
2
,
'mqtts-gateway-dev.yml'
,
'DEFAULT_GROUP'
,
'spring:
\n
redis:
\n
host: localhost
\n
port: 6379
\n
password:
\n
cloud:
\n
gateway:
\n
discovery:
\n
locator:
\n
lowerCaseServiceId: true
\n
enabled: true
\n
routes:
\n
# 认证中心
\n
- id: mqtts-auth
\n
uri: lb://mqtts-auth
\n
predicates:
\n
- Path=/auth/**
\n
filters:
\n
# 验证码处理
\n
- CacheRequestFilter
\n
- ValidateCodeFilter
\n
- StripPrefix=1
\n
# 代码生成
\n
- id: mqtts-gen
\n
uri: lb://mqtts-gen
\n
predicates:
\n
- Path=/code/**
\n
filters:
\n
- StripPrefix=1
\n
# 定时任务
\n
- id: mqtts-job
\n
uri: lb://mqtts-job
\n
predicates:
\n
- Path=/schedule/**
\n
filters:
\n
- StripPrefix=1
\n
# 系统模块
\n
- id: mqtts-system
\n
uri: lb://mqtts-system
\n
predicates:
\n
- Path=/system/**
\n
filters:
\n
- StripPrefix=1
\n
# 文件服务
\n
- id: mqtts-file
\n
uri: lb://mqtts-file
\n
predicates:
\n
- Path=/file/**
\n
filters:
\n
- StripPrefix=1
\n\n
# 安全配置
\n
security:
\n
# 验证码
\n
captcha:
\n
enabled: true
\n
type: math
\n
# 防止XSS攻击
\n
xss:
\n
enabled: true
\n
excludeUrls:
\n
- /system/notice
\n
# 不校验白名单
\n
ignore:
\n
whites:
\n
- /auth/logout
\n
- /auth/login
\n
- /auth/register
\n
- /*/v2/api-docs
\n
- /csrf
\n
'
,
'2f5a6b5a4ccf20b5801c5cf842456ec6'
,
'2020-05-14 14:17:55'
,
'2021-07-30 09:07:14'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'网关模块'
,
'null'
,
'null'
,
'yaml'
,
'null'
),
(
3
,
'mqtts-auth-dev.yml'
,
'DEFAULT_GROUP'
,
'spring:
\r\n
redis:
\r\n
host: localhost
\r\n
port: 6379
\r\n
password:
\r\n
'
,
'b7354e1eb62c2d846d44a796d9ec6930'
,
'2020-11-20 00:00:00'
,
'2021-02-28 21:06:58'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'认证中心'
,
'null'
,
'null'
,
'yaml'
,
'null'
),
(
3
,
'mqtts-auth-dev.yml'
,
'DEFAULT_GROUP'
,
'spring:
\r\n
redis:
\r\n
host: localhost
\r\n
port: 6379
\r\n
password:
\r\n
'
,
'b7354e1eb62c2d846d44a796d9ec6930'
,
'2020-11-20 00:00:00'
,
'2021-02-28 21:06:58'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'认证中心'
,
'null'
,
'null'
,
'yaml'
,
'null'
),
(
4
,
'mqtts-monitor-dev.yml'
,
'DEFAULT_GROUP'
,
'# spring
\r\n
spring:
\r\n
security:
\r\n
user:
\r\n
name: mqtts
\r\n
password: 123456
\r\n
boot:
\r\n
admin:
\r\n
ui:
\r\n
title: mqtts服务状态监控
\r\n
'
,
'd8997d0707a2fd5d9fc4e8409da38129'
,
'2020-11-20 00:00:00'
,
'2020-12-21 16:28:07'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'监控中心'
,
'null'
,
'null'
,
'yaml'
,
'null'
),
(
4
,
'mqtts-monitor-dev.yml'
,
'DEFAULT_GROUP'
,
'# spring
\r\n
spring:
\r\n
security:
\r\n
user:
\r\n
name: mqtts
\r\n
password: 123456
\r\n
boot:
\r\n
admin:
\r\n
ui:
\r\n
title: mqtts服务状态监控
\r\n
'
,
'd8997d0707a2fd5d9fc4e8409da38129'
,
'2020-11-20 00:00:00'
,
'2020-12-21 16:28:07'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'监控中心'
,
'null'
,
'null'
,
'yaml'
,
'null'
),
(
5
,
'mqtts-system-dev.yml'
,
'DEFAULT_GROUP'
,
'# spring配置
\r\n
spring:
\r\n
redis:
\r\n
host: localhost
\r\n
port: 6379
\r\n
password:
\r\n
datasource:
\r\n
druid:
\r\n
stat-view-servlet:
\r\n
enabled: true
\r\n
loginUsername: admin
\r\n
loginPassword: 123456
\r\n
dynamic:
\r\n
druid:
\r\n
initial-size: 5
\r\n
min-idle: 5
\r\n
maxActive: 20
\r\n
maxWait: 60000
\r\n
timeBetweenEvictionRunsMillis: 60000
\r\n
minEvictableIdleTimeMillis: 300000
\r\n
validationQuery: SELECT 1 FROM DUAL
\r\n
testWhileIdle: true
\r\n
testOnBorrow: false
\r\n
testOnReturn: false
\r\n
poolPreparedStatements: true
\r\n
maxPoolPreparedStatementPerConnectionSize: 20
\r\n
filters: stat,slf4j
\r\n
connectionProperties: druid.stat.mergeSql
\\
=true;druid.stat.slowSqlMillis
\\
=5000
\r\n
datasource:
\r\n
# 主库数据源
\r\n
master:
\r\n
driver-class-name: com.mysql.cj.jdbc.Driver
\r\n
url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
\r\n
username: root
\r\n
password: password
\r\n
# 从库数据源
\r\n
# slave:
\r\n
# username:
\r\n
# password:
\r\n
# url:
\r\n
# driver-class-name:
\r\n
# seata: true # 开启seata代理,开启后默认每个数据源都代理,如果某个不需要代理可单独关闭
\r\n\r\n
# seata配置
\r\n
seata:
\r\n
# 默认关闭,如需启用spring.datasource.dynami.seata需要同时开启
\r\n
enabled: false
\r\n
# Seata 应用编号,默认为 ${spring.application.name}
\r\n
application-id: ${spring.application.name}
\r\n
# Seata 事务组编号,用于 TC 集群名
\r\n
tx-service-group: ${spring.application.name}-group
\r\n
# 关闭自动代理
\r\n
enable-auto-data-source-proxy: false
\r\n
# 服务配置项
\r\n
service:
\r\n
# 虚拟组和分组的映射
\r\n
vgroup-mapping:
\r\n
mqtts-system-group: default
\r\n
config:
\r\n
type: nacos
\r\n
nacos:
\r\n
serverAddr: 127.0.0.1:8848
\r\n
group: SEATA_GROUP
\r\n
namespace:
\r\n
registry:
\r\n
type: nacos
\r\n
nacos:
\r\n
application: seata-server
\r\n
server-addr: 127.0.0.1:8848
\r\n
namespace:
\r\n\r\n
# mybatis配置
\r\n
mybatis:
\r\n
# 搜索指定包别名
\r\n
typeAliasesPackage:
com
.mqtts.system
\r\n
# 配置mapper的扫描,找到所有的mapper.xml映射文件
\r\n
mapperLocations: classpath:mapper/**/*.xml
\r\n\r\n
# swagger配置
\r\n
swagger:
\r\n
title: 系统模块接口文档
\r\n
license: Powered By mqtts
\r\n
licenseUrl: https://mqtts.vip'
,
'ac8913dee679e65bb7d482df5f267d4e'
,
'2020-11-20 00:00:00'
,
'2021-01-27 10:42:25'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'系统模块'
,
'null'
,
'null'
,
'yaml'
,
'null'
),
(
5
,
'mqtts-system-dev.yml'
,
'DEFAULT_GROUP'
,
'# spring配置
\r\n
spring:
\r\n
redis:
\r\n
host: localhost
\r\n
port: 6379
\r\n
password:
\r\n
datasource:
\r\n
druid:
\r\n
stat-view-servlet:
\r\n
enabled: true
\r\n
loginUsername: admin
\r\n
loginPassword: 123456
\r\n
dynamic:
\r\n
druid:
\r\n
initial-size: 5
\r\n
min-idle: 5
\r\n
maxActive: 20
\r\n
maxWait: 60000
\r\n
timeBetweenEvictionRunsMillis: 60000
\r\n
minEvictableIdleTimeMillis: 300000
\r\n
validationQuery: SELECT 1 FROM DUAL
\r\n
testWhileIdle: true
\r\n
testOnBorrow: false
\r\n
testOnReturn: false
\r\n
poolPreparedStatements: true
\r\n
maxPoolPreparedStatementPerConnectionSize: 20
\r\n
filters: stat,slf4j
\r\n
connectionProperties: druid.stat.mergeSql
\\
=true;druid.stat.slowSqlMillis
\\
=5000
\r\n
datasource:
\r\n
# 主库数据源
\r\n
master:
\r\n
driver-class-name: com.mysql.cj.jdbc.Driver
\r\n
url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
\r\n
username: root
\r\n
password: password
\r\n
# 从库数据源
\r\n
# slave:
\r\n
# username:
\r\n
# password:
\r\n
# url:
\r\n
# driver-class-name:
\r\n
# seata: true # 开启seata代理,开启后默认每个数据源都代理,如果某个不需要代理可单独关闭
\r\n\r\n
# seata配置
\r\n
seata:
\r\n
# 默认关闭,如需启用spring.datasource.dynami.seata需要同时开启
\r\n
enabled: false
\r\n
# Seata 应用编号,默认为 ${spring.application.name}
\r\n
application-id: ${spring.application.name}
\r\n
# Seata 事务组编号,用于 TC 集群名
\r\n
tx-service-group: ${spring.application.name}-group
\r\n
# 关闭自动代理
\r\n
enable-auto-data-source-proxy: false
\r\n
# 服务配置项
\r\n
service:
\r\n
# 虚拟组和分组的映射
\r\n
vgroup-mapping:
\r\n
mqtts-system-group: default
\r\n
config:
\r\n
type: nacos
\r\n
nacos:
\r\n
serverAddr: 127.0.0.1:8848
\r\n
group: SEATA_GROUP
\r\n
namespace:
\r\n
registry:
\r\n
type: nacos
\r\n
nacos:
\r\n
application: seata-server
\r\n
server-addr: 127.0.0.1:8848
\r\n
namespace:
\r\n\r\n
# mybatis配置
\r\n
mybatis:
\r\n
# 搜索指定包别名
\r\n
typeAliasesPackage:
net
.mqtts.system
\r\n
# 配置mapper的扫描,找到所有的mapper.xml映射文件
\r\n
mapperLocations: classpath:mapper/**/*.xml
\r\n\r\n
# swagger配置
\r\n
swagger:
\r\n
title: 系统模块接口文档
\r\n
license: Powered By mqtts
\r\n
licenseUrl: https://mqtts.vip'
,
'ac8913dee679e65bb7d482df5f267d4e'
,
'2020-11-20 00:00:00'
,
'2021-01-27 10:42:25'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'系统模块'
,
'null'
,
'null'
,
'yaml'
,
'null'
),
(
6
,
'mqtts-gen-dev.yml'
,
'DEFAULT_GROUP'
,
'# spring配置
\r\n
spring:
\r\n
redis:
\r\n
host: localhost
\r\n
port: 6379
\r\n
password:
\r\n
datasource:
\r\n
driver-class-name: com.mysql.cj.jdbc.Driver
\r\n
url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
\r\n
username: root
\r\n
password: password
\r\n\r\n
# mybatis配置
\r\n
mybatis:
\r\n
# 搜索指定包别名
\r\n
typeAliasesPackage:
com.mqtts.gen.domain
\r\n
# 配置mapper的扫描,找到所有的mapper.xml映射文件
\r\n
mapperLocations: classpath:mapper/**/*.xml
\r\n\r\n
# swagger配置
\r\n
swagger:
\r\n
title: 代码生成接口文档
\r\n
license: Powered By mqtts
\r\n
licenseUrl: https://mqtts.vip
\r\n\r\n
# 代码生成
\r\n
gen:
\r\n
# 作者
\r\n
author: mqtts
\r\n
# 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
\r\n
packageName: com
.mqtts.system
\r\n
# 自动去除表前缀,默认是false
\r\n
autoRemovePre: false
\r\n
# 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
\r\n
tablePrefix: sys_
\r\n
'
,
'8c79f64a4cca9b821a03dc8b27a2d8eb'
,
'2020-11-20 00:00:00'
,
'2021-01-26 10:36:45'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'代码生成'
,
'null'
,
'null'
,
'yaml'
,
'null'
),
(
6
,
'mqtts-gen-dev.yml'
,
'DEFAULT_GROUP'
,
'# spring配置
\r\n
spring:
\r\n
redis:
\r\n
host: localhost
\r\n
port: 6379
\r\n
password:
\r\n
datasource:
\r\n
driver-class-name: com.mysql.cj.jdbc.Driver
\r\n
url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
\r\n
username: root
\r\n
password: password
\r\n\r\n
# mybatis配置
\r\n
mybatis:
\r\n
# 搜索指定包别名
\r\n
typeAliasesPackage:
net.mqtts.gen.domain
\r\n
# 配置mapper的扫描,找到所有的mapper.xml映射文件
\r\n
mapperLocations: classpath:mapper/**/*.xml
\r\n\r\n
# swagger配置
\r\n
swagger:
\r\n
title: 代码生成接口文档
\r\n
license: Powered By mqtts
\r\n
licenseUrl: https://mqtts.vip
\r\n\r\n
# 代码生成
\r\n
gen:
\r\n
# 作者
\r\n
author: mqtts
\r\n
# 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
\r\n
packageName: net
.mqtts.system
\r\n
# 自动去除表前缀,默认是false
\r\n
autoRemovePre: false
\r\n
# 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
\r\n
tablePrefix: sys_
\r\n
'
,
'8c79f64a4cca9b821a03dc8b27a2d8eb'
,
'2020-11-20 00:00:00'
,
'2021-01-26 10:36:45'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'代码生成'
,
'null'
,
'null'
,
'yaml'
,
'null'
),
(
7
,
'mqtts-job-dev.yml'
,
'DEFAULT_GROUP'
,
'# spring配置
\r\n
spring:
\r\n
redis:
\r\n
host: localhost
\r\n
port: 6379
\r\n
password:
\r\n
datasource:
\r\n
driver-class-name: com.mysql.cj.jdbc.Driver
\r\n
url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
\r\n
username: root
\r\n
password: password
\r\n\r\n
# mybatis配置
\r\n
mybatis:
\r\n
# 搜索指定包别名
\r\n
typeAliasesPackage:
com
.mqtts.job.domain
\r\n
# 配置mapper的扫描,找到所有的mapper.xml映射文件
\r\n
mapperLocations: classpath:mapper/**/*.xml
\r\n\r\n
# swagger配置
\r\n
swagger:
\r\n
title: 定时任务接口文档
\r\n
license: Powered By mqtts
\r\n
licenseUrl: https://mqtts.vip
\r\n
'
,
'd6dfade9a2c93c463ae857cd503cb172'
,
'2020-11-20 00:00:00'
,
'2021-01-26 10:36:04'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'定时任务'
,
'null'
,
'null'
,
'yaml'
,
'null'
),
(
7
,
'mqtts-job-dev.yml'
,
'DEFAULT_GROUP'
,
'# spring配置
\r\n
spring:
\r\n
redis:
\r\n
host: localhost
\r\n
port: 6379
\r\n
password:
\r\n
datasource:
\r\n
driver-class-name: com.mysql.cj.jdbc.Driver
\r\n
url: jdbc:mysql://localhost:3306/ry-cloud?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
\r\n
username: root
\r\n
password: password
\r\n\r\n
# mybatis配置
\r\n
mybatis:
\r\n
# 搜索指定包别名
\r\n
typeAliasesPackage:
net
.mqtts.job.domain
\r\n
# 配置mapper的扫描,找到所有的mapper.xml映射文件
\r\n
mapperLocations: classpath:mapper/**/*.xml
\r\n\r\n
# swagger配置
\r\n
swagger:
\r\n
title: 定时任务接口文档
\r\n
license: Powered By mqtts
\r\n
licenseUrl: https://mqtts.vip
\r\n
'
,
'd6dfade9a2c93c463ae857cd503cb172'
,
'2020-11-20 00:00:00'
,
'2021-01-26 10:36:04'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'定时任务'
,
'null'
,
'null'
,
'yaml'
,
'null'
),
(
8
,
'mqtts-file-dev.yml'
,
'DEFAULT_GROUP'
,
'# 本地文件上传
\r\n
file:
\r\n
domain: http://127.0.0.1:9300
\r\n
path: D:/mqtts/uploadPath
\r\n
prefix: /statics
\r\n\r\n
# FastDFS配置
\r\n
fdfs:
\r\n
domain: http://8.129.231.12
\r\n
soTimeout: 3000
\r\n
connectTimeout: 2000
\r\n
trackerList: 8.129.231.12:22122
\r\n\r\n
# Minio配置
\r\n
minio:
\r\n
url: http://8.129.231.12:9000
\r\n
accessKey: minioadmin
\r\n
secretKey: minioadmin
\r\n
bucketName: test'
,
'5382b93f3d8059d6068c0501fdd41195'
,
'2020-11-20 00:00:00'
,
'2020-12-21 21:01:59'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'文件服务'
,
'null'
,
'null'
,
'yaml'
,
'null'
),
(
8
,
'mqtts-file-dev.yml'
,
'DEFAULT_GROUP'
,
'# 本地文件上传
\r\n
file:
\r\n
domain: http://127.0.0.1:9300
\r\n
path: D:/mqtts/uploadPath
\r\n
prefix: /statics
\r\n\r\n
# FastDFS配置
\r\n
fdfs:
\r\n
domain: http://8.129.231.12
\r\n
soTimeout: 3000
\r\n
connectTimeout: 2000
\r\n
trackerList: 8.129.231.12:22122
\r\n\r\n
# Minio配置
\r\n
minio:
\r\n
url: http://8.129.231.12:9000
\r\n
accessKey: minioadmin
\r\n
secretKey: minioadmin
\r\n
bucketName: test'
,
'5382b93f3d8059d6068c0501fdd41195'
,
'2020-11-20 00:00:00'
,
'2020-12-21 21:01:59'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'文件服务'
,
'null'
,
'null'
,
'yaml'
,
'null'
),
(
9
,
'sentinel-mqtts-gateway'
,
'DEFAULT_GROUP'
,
'[
\r\n
{
\r\n
\"
resource
\"
:
\"
mqtts-auth
\"
,
\r\n
\"
count
\"
: 500,
\r\n
\"
grade
\"
: 1,
\r\n
\"
limitApp
\"
:
\"
default
\"
,
\r\n
\"
strategy
\"
: 0,
\r\n
\"
controlBehavior
\"
: 0
\r\n
},
\r\n
{
\r\n
\"
resource
\"
:
\"
mqtts-system
\"
,
\r\n
\"
count
\"
: 1000,
\r\n
\"
grade
\"
: 1,
\r\n
\"
limitApp
\"
:
\"
default
\"
,
\r\n
\"
strategy
\"
: 0,
\r\n
\"
controlBehavior
\"
: 0
\r\n
},
\r\n
{
\r\n
\"
resource
\"
:
\"
mqtts-gen
\"
,
\r\n
\"
count
\"
: 200,
\r\n
\"
grade
\"
: 1,
\r\n
\"
limitApp
\"
:
\"
default
\"
,
\r\n
\"
strategy
\"
: 0,
\r\n
\"
controlBehavior
\"
: 0
\r\n
},
\r\n
{
\r\n
\"
resource
\"
:
\"
mqtts-job
\"
,
\r\n
\"
count
\"
: 300,
\r\n
\"
grade
\"
: 1,
\r\n
\"
limitApp
\"
:
\"
default
\"
,
\r\n
\"
strategy
\"
: 0,
\r\n
\"
controlBehavior
\"
: 0
\r\n
}
\r\n
]'
,
'9f3a3069261598f74220bc47958ec252'
,
'2020-11-20 00:00:00'
,
'2020-11-20 00:00:00'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'限流策略'
,
'null'
,
'null'
,
'json'
,
'null'
);
(
9
,
'sentinel-mqtts-gateway'
,
'DEFAULT_GROUP'
,
'[
\r\n
{
\r\n
\"
resource
\"
:
\"
mqtts-auth
\"
,
\r\n
\"
count
\"
: 500,
\r\n
\"
grade
\"
: 1,
\r\n
\"
limitApp
\"
:
\"
default
\"
,
\r\n
\"
strategy
\"
: 0,
\r\n
\"
controlBehavior
\"
: 0
\r\n
},
\r\n
{
\r\n
\"
resource
\"
:
\"
mqtts-system
\"
,
\r\n
\"
count
\"
: 1000,
\r\n
\"
grade
\"
: 1,
\r\n
\"
limitApp
\"
:
\"
default
\"
,
\r\n
\"
strategy
\"
: 0,
\r\n
\"
controlBehavior
\"
: 0
\r\n
},
\r\n
{
\r\n
\"
resource
\"
:
\"
mqtts-gen
\"
,
\r\n
\"
count
\"
: 200,
\r\n
\"
grade
\"
: 1,
\r\n
\"
limitApp
\"
:
\"
default
\"
,
\r\n
\"
strategy
\"
: 0,
\r\n
\"
controlBehavior
\"
: 0
\r\n
},
\r\n
{
\r\n
\"
resource
\"
:
\"
mqtts-job
\"
,
\r\n
\"
count
\"
: 300,
\r\n
\"
grade
\"
: 1,
\r\n
\"
limitApp
\"
:
\"
default
\"
,
\r\n
\"
strategy
\"
: 0,
\r\n
\"
controlBehavior
\"
: 0
\r\n
}
\r\n
]'
,
'9f3a3069261598f74220bc47958ec252'
,
'2020-11-20 00:00:00'
,
'2020-11-20 00:00:00'
,
NULL
,
'0:0:0:0:0:0:0:1'
,
''
,
''
,
'限流策略'
,
'null'
,
'null'
,
'json'
,
'null'
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录