|
@@ -1,7 +1,7 @@
|
|
# 项目相关配置
|
|
# 项目相关配置
|
|
ruoyi:
|
|
ruoyi:
|
|
# 名称
|
|
# 名称
|
|
- name: RuoYi
|
|
|
|
|
|
+ name: 潜山招商管理系统
|
|
# 版本
|
|
# 版本
|
|
version: 3.4.0
|
|
version: 3.4.0
|
|
# 版权年份
|
|
# 版权年份
|
|
@@ -10,6 +10,7 @@ ruoyi:
|
|
demoEnabled: true
|
|
demoEnabled: true
|
|
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
|
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
|
|
profile: D:/ruoyi/uploadPath
|
|
profile: D:/ruoyi/uploadPath
|
|
|
|
+# profile: /usr/local/zhaoshang/upload
|
|
# 获取ip地址开关
|
|
# 获取ip地址开关
|
|
addressEnabled: false
|
|
addressEnabled: false
|
|
# 验证码类型 math 数组计算 char 字符验证
|
|
# 验证码类型 math 数组计算 char 字符验证
|
|
@@ -18,7 +19,7 @@ ruoyi:
|
|
# 开发环境配置
|
|
# 开发环境配置
|
|
server:
|
|
server:
|
|
# 服务器的HTTP端口,默认为8080
|
|
# 服务器的HTTP端口,默认为8080
|
|
- port: 8080
|
|
|
|
|
|
+ port: 8010
|
|
servlet:
|
|
servlet:
|
|
# 应用的访问路径
|
|
# 应用的访问路径
|
|
context-path: /
|
|
context-path: /
|
|
@@ -42,7 +43,7 @@ spring:
|
|
messages:
|
|
messages:
|
|
# 国际化资源文件路径
|
|
# 国际化资源文件路径
|
|
basename: i18n/messages
|
|
basename: i18n/messages
|
|
- profiles:
|
|
|
|
|
|
+ profiles:
|
|
active: druid
|
|
active: druid
|
|
# 文件上传
|
|
# 文件上传
|
|
servlet:
|
|
servlet:
|
|
@@ -84,10 +85,10 @@ token:
|
|
# 令牌自定义标识
|
|
# 令牌自定义标识
|
|
header: Authorization
|
|
header: Authorization
|
|
# 令牌密钥
|
|
# 令牌密钥
|
|
- secret: abcdefghijklmnopqrstuvwxyz
|
|
|
|
|
|
+ secret: zhaoshangyinzi
|
|
# 令牌有效期(默认30分钟)
|
|
# 令牌有效期(默认30分钟)
|
|
expireTime: 60
|
|
expireTime: 60
|
|
-
|
|
|
|
|
|
+
|
|
# MyBatis配置
|
|
# MyBatis配置
|
|
mybatis:
|
|
mybatis:
|
|
# 搜索指定包别名
|
|
# 搜索指定包别名
|
|
@@ -98,11 +99,11 @@ mybatis:
|
|
configLocation: classpath:mybatis/mybatis-config.xml
|
|
configLocation: classpath:mybatis/mybatis-config.xml
|
|
|
|
|
|
# PageHelper分页插件
|
|
# PageHelper分页插件
|
|
-pagehelper:
|
|
|
|
|
|
+pagehelper:
|
|
helperDialect: mysql
|
|
helperDialect: mysql
|
|
reasonable: true
|
|
reasonable: true
|
|
supportMethodsArguments: true
|
|
supportMethodsArguments: true
|
|
- params: count=countSql
|
|
|
|
|
|
+ params: count=countSql
|
|
|
|
|
|
# Swagger配置
|
|
# Swagger配置
|
|
swagger:
|
|
swagger:
|
|
@@ -112,7 +113,7 @@ swagger:
|
|
pathMapping: /dev-api
|
|
pathMapping: /dev-api
|
|
|
|
|
|
# 防止XSS攻击
|
|
# 防止XSS攻击
|
|
-xss:
|
|
|
|
|
|
+xss:
|
|
# 过滤开关
|
|
# 过滤开关
|
|
enabled: true
|
|
enabled: true
|
|
# 排除链接(多个用逗号分隔)
|
|
# 排除链接(多个用逗号分隔)
|