|
@@ -18,7 +18,7 @@ ruoyi:
|
|
# 开发环境配置
|
|
# 开发环境配置
|
|
server:
|
|
server:
|
|
# 服务器的HTTP端口,默认为8080
|
|
# 服务器的HTTP端口,默认为8080
|
|
- port: 8080
|
|
|
|
|
|
+ port: 8081
|
|
servlet:
|
|
servlet:
|
|
# 应用的访问路径
|
|
# 应用的访问路径
|
|
context-path: /
|
|
context-path: /
|
|
@@ -55,11 +55,11 @@ spring:
|
|
checkTemplateLocation: false
|
|
checkTemplateLocation: false
|
|
# 文件上传
|
|
# 文件上传
|
|
servlet:
|
|
servlet:
|
|
- multipart:
|
|
|
|
- # 单个文件大小
|
|
|
|
- max-file-size: 20MB
|
|
|
|
- # 设置总上传的文件大小
|
|
|
|
- max-request-size: 30MB
|
|
|
|
|
|
+ multipart:
|
|
|
|
+ # 单个文件大小
|
|
|
|
+ max-file-size: 20MB
|
|
|
|
+ # 设置总上传的文件大小
|
|
|
|
+ max-request-size: 30MB
|
|
# 服务模块
|
|
# 服务模块
|
|
devtools:
|
|
devtools:
|
|
restart:
|
|
restart:
|
|
@@ -73,9 +73,11 @@ spring:
|
|
port: 6379
|
|
port: 6379
|
|
# 密码
|
|
# 密码
|
|
password: ssy666666
|
|
password: ssy666666
|
|
-# host: 127.0.0.1
|
|
|
|
-# port: 6379
|
|
|
|
-# password:
|
|
|
|
|
|
+ # 公共redis区分缓存存放位置,避免因共用一个位置造成数据错乱
|
|
|
|
+ database: 3
|
|
|
|
+ # host: 127.0.0.1
|
|
|
|
+ # port: 6379
|
|
|
|
+ # password:
|
|
# 连接超时时间
|
|
# 连接超时时间
|
|
timeout: 10s
|
|
timeout: 10s
|
|
lettuce:
|
|
lettuce:
|
|
@@ -110,21 +112,21 @@ spring:
|
|
# from: email@seashoreept.com
|
|
# from: email@seashoreept.com
|
|
# token配置
|
|
# token配置
|
|
token:
|
|
token:
|
|
- # 令牌自定义标识
|
|
|
|
- header: Authorization
|
|
|
|
- # 令牌密钥
|
|
|
|
- secret: abcdefghijklmnopqrstuvwxyz
|
|
|
|
- # 令牌有效期(默认30分钟)
|
|
|
|
- expireTime: 600000
|
|
|
|
|
|
+ # 令牌自定义标识
|
|
|
|
+ header: Authorization
|
|
|
|
+ # 令牌密钥
|
|
|
|
+ secret: abcdefghijklmnopqrstuvwxyz
|
|
|
|
+ # 令牌有效期(默认30分钟)
|
|
|
|
+ expireTime: 600000
|
|
|
|
|
|
# MyBatis配置
|
|
# MyBatis配置
|
|
mybatis:
|
|
mybatis:
|
|
- # 搜索指定包别名
|
|
|
|
- typeAliasesPackage: com.ruoyi.project.**.domain
|
|
|
|
- # 配置mapper的扫描,找到所有的mapper.xml映射文件
|
|
|
|
- mapperLocations: classpath*:mybatis/**/*Mapper.xml
|
|
|
|
- # 加载全局的配置文件
|
|
|
|
- configLocation: classpath:mybatis/mybatis-config.xml
|
|
|
|
|
|
+ # 搜索指定包别名
|
|
|
|
+ typeAliasesPackage: com.ruoyi.project.**.domain
|
|
|
|
+ # 配置mapper的扫描,找到所有的mapper.xml映射文件
|
|
|
|
+ mapperLocations: classpath*:mybatis/**/*Mapper.xml
|
|
|
|
+ # 加载全局的配置文件
|
|
|
|
+ configLocation: classpath:mybatis/mybatis-config.xml
|
|
#mybatis
|
|
#mybatis
|
|
mybatis-plus:
|
|
mybatis-plus:
|
|
mapper-locations: classpath*:mybatis/**/*Mapper.xml
|
|
mapper-locations: classpath*:mybatis/**/*Mapper.xml
|
|
@@ -173,13 +175,13 @@ gen:
|
|
# 作者
|
|
# 作者
|
|
author: ruoyi
|
|
author: ruoyi
|
|
# 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
|
|
# 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
|
|
- packageName: com.ruoyi.project.sems.his # 自动去除表前缀,默认是true
|
|
|
|
|
|
+ packageName: com.ruoyi.project.ehs # 自动去除表前缀,默认是true
|
|
autoRemovePre: false
|
|
autoRemovePre: false
|
|
# 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
|
|
# 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
|
|
- tablePrefix: sys_
|
|
|
|
|
|
+ tablePrefix: t_
|
|
#设置密钥
|
|
#设置密钥
|
|
# 解密java -cp jasypt-1.9.2.jar org.jasypt.intf.cli.JasyptPBEStringDecryptionCLI input="dIaPam9ayoR1AqBvm+B0GO9RBhpIqIVe" password=test algorithm=PBEWithMD5AndDES
|
|
# 解密java -cp jasypt-1.9.2.jar org.jasypt.intf.cli.JasyptPBEStringDecryptionCLI input="dIaPam9ayoR1AqBvm+B0GO9RBhpIqIVe" password=test algorithm=PBEWithMD5AndDES
|
|
#C:\Users\ly\.m2\repository\org\jasypt\jasypt\1.9.2>java -cp jasypt-1.9.2.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI input="ssy123456" password=test algorithm=PBEWithMD5AndDES
|
|
#C:\Users\ly\.m2\repository\org\jasypt\jasypt\1.9.2>java -cp jasypt-1.9.2.jar org.jasypt.intf.cli.JasyptPBEStringEncryptionCLI input="ssy123456" password=test algorithm=PBEWithMD5AndDES
|
|
jasypt:
|
|
jasypt:
|
|
encryptor:
|
|
encryptor:
|
|
- password: test
|
|
|
|
|
|
+ password: test
|