Browse Source

control

platform-api
4670101279 2 years ago
parent
commit
10184e94ca
  1. 14
      ruoyi-admin/src/main/resources/application.yml

14
ruoyi-admin/src/main/resources/application.yml

@ -18,10 +18,10 @@ ruoyi: @@ -18,10 +18,10 @@ ruoyi:
# 开发环境配置
server:
# 服务器的HTTP端口,默认为8080
port: 8080
port: 8022
servlet:
# 应用的访问路径
context-path: /
context-path: /control
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
@ -45,7 +45,7 @@ spring: @@ -45,7 +45,7 @@ spring:
messages:
# 国际化资源文件路径
basename: i18n/messages
profiles:
profiles:
active: druid
# 文件上传
servlet:
@ -90,7 +90,7 @@ token: @@ -90,7 +90,7 @@ token:
secret: abcdefghijklmnopqrstuvwxyz
# 令牌有效期(默认30分钟)
expireTime: 30
# MyBatis配置
mybatis:
# 搜索指定包别名
@ -101,10 +101,10 @@ mybatis: @@ -101,10 +101,10 @@ mybatis:
configLocation: classpath:mybatis/mybatis-config.xml
# PageHelper分页插件
pagehelper:
pagehelper:
helperDialect: mysql
supportMethodsArguments: true
params: count=countSql
params: count=countSql
# Swagger配置
swagger:
@ -114,7 +114,7 @@ swagger: @@ -114,7 +114,7 @@ swagger:
pathMapping: /dev-api
# 防止XSS攻击
xss:
xss:
# 过滤开关
enabled: true
# 排除链接(多个用逗号分隔)

Loading…
Cancel
Save