提交 | 用户 | 时间
|
fd2207
|
1 |
# 项目相关配置 |
懒 |
2 |
ruoyi: |
|
3 |
# 名称 |
|
4 |
name: RuoYi |
|
5 |
# 版本 |
|
6 |
version: 3.8.6 |
|
7 |
# 版权年份 |
|
8 |
copyrightYear: 2023 |
|
9 |
# 实例演示开关 |
|
10 |
demoEnabled: true |
|
11 |
# 文件路径 示例( Windows配置D:/jcdm/uploadPath,Linux配置 /home/jcdm/uploadPath) |
|
12 |
profile: D:/ruoyi/uploadPath |
|
13 |
# 获取ip地址开关 |
|
14 |
addressEnabled: false |
|
15 |
# 验证码类型 math 数字计算 char 字符验证 |
|
16 |
captchaType: math |
|
17 |
|
|
18 |
# 开发环境配置 |
|
19 |
server: |
|
20 |
# 服务器的HTTP端口,默认为8080 |
|
21 |
port: 8081 |
|
22 |
servlet: |
|
23 |
# 应用的访问路径 |
|
24 |
context-path: / |
|
25 |
tomcat: |
|
26 |
# tomcat的URI编码 |
|
27 |
uri-encoding: UTF-8 |
|
28 |
# 连接数满后的排队数,默认为100 |
|
29 |
accept-count: 1000 |
|
30 |
threads: |
|
31 |
# tomcat最大线程数,默认为200 |
|
32 |
max: 800 |
|
33 |
# Tomcat启动初始化的线程数,默认值10 |
|
34 |
min-spare: 100 |
|
35 |
|
|
36 |
# 日志配置 |
|
37 |
logging: |
|
38 |
level: |
|
39 |
com.jcdm: debug |
|
40 |
org.springframework: warn |
|
41 |
|
|
42 |
# 用户配置 |
|
43 |
user: |
|
44 |
password: |
|
45 |
# 密码最大错误次数 |
|
46 |
maxRetryCount: 5 |
|
47 |
# 密码锁定时间(默认10分钟) |
|
48 |
lockTime: 10 |
|
49 |
|
|
50 |
# Spring配置 |
|
51 |
spring: |
|
52 |
# 资源信息 |
|
53 |
messages: |
|
54 |
# 国际化资源文件路径 |
|
55 |
basename: i18n/messages |
|
56 |
profiles: |
|
57 |
active: druid |
|
58 |
# 文件上传 |
|
59 |
servlet: |
|
60 |
multipart: |
|
61 |
# 单个文件大小 |
|
62 |
max-file-size: 10MB |
|
63 |
# 设置总上传的文件大小 |
|
64 |
max-request-size: 20MB |
|
65 |
# 服务模块 |
|
66 |
devtools: |
|
67 |
restart: |
|
68 |
# 热部署开关 |
|
69 |
enabled: true |
|
70 |
# redis 配置 |
|
71 |
# redis: |
|
72 |
# # 地址 |
|
73 |
# host: localhost |
|
74 |
# # 端口,默认为6379 |
|
75 |
# port: 6379 |
|
76 |
# # 数据库索引 |
|
77 |
# database: 0 |
|
78 |
# # 密码 |
|
79 |
# password: |
|
80 |
# # 连接超时时间 |
|
81 |
# timeout: 10s |
|
82 |
# lettuce: |
|
83 |
# pool: |
|
84 |
# # 连接池中的最小空闲连接 |
|
85 |
# min-idle: 0 |
|
86 |
# # 连接池中的最大空闲连接 |
|
87 |
# max-idle: 8 |
|
88 |
# # 连接池的最大数据库连接数 |
|
89 |
# max-active: 8 |
|
90 |
# # #连接池最大阻塞等待时间(使用负值表示没有限制) |
|
91 |
# max-wait: -1ms |
|
92 |
|
|
93 |
# token配置 |
|
94 |
token: |
|
95 |
# 令牌自定义标识 |
|
96 |
header: Authorization |
|
97 |
# 令牌密钥 |
|
98 |
secret: abcdefghijklmnopqrstuvwxyz |
|
99 |
# 令牌有效期(默认30分钟) |
|
100 |
expireTime: 30 |
|
101 |
|
|
102 |
# MyBatis配置 |
|
103 |
mybatis: |
|
104 |
# 搜索指定包别名 |
|
105 |
typeAliasesPackage: com.jcdm.**.domain |
|
106 |
# 配置mapper的扫描,找到所有的mapper.xml映射文件 |
|
107 |
mapperLocations: classpath*:mapper/**/*Mapper.xml |
|
108 |
# 加载全局的配置文件 |
|
109 |
configLocation: classpath:mybatis/mybatis-config.xml |
|
110 |
|
|
111 |
# PageHelper分页插件 |
|
112 |
pagehelper: |
|
113 |
# helperDialect: mysql |
|
114 |
supportMethodsArguments: true |
|
115 |
params: count=countSql |
|
116 |
autoRuntimeDialect: true |
|
117 |
|
|
118 |
# Swagger配置 |
|
119 |
swagger: |
|
120 |
# 是否开启swagger |
|
121 |
enabled: true |
|
122 |
# 请求前缀 |
|
123 |
pathMapping: /dev-api |
|
124 |
|
|
125 |
# 防止XSS攻击 |
|
126 |
xss: |
|
127 |
# 过滤开关 |
|
128 |
enabled: true |
|
129 |
# 排除链接(多个用逗号分隔) |
|
130 |
excludes: /system/notice |
|
131 |
# 匹配链接 |
|
132 |
urlPatterns: /system/*,/monitor/*,/tool/* |
3e03af
|
133 |
|
C |
134 |
kangaroohy: |
|
135 |
milo: |
|
136 |
primary: default |
|
137 |
config: |
|
138 |
default: |
|
139 |
endpoint: opc.tcp://127.0.0.1:49320 |
|
140 |
security-policy: none |