|
@@ -8,7 +8,7 @@ yccrc:
|
|
|
copyrightYear: 2022
|
|
copyrightYear: 2022
|
|
|
# 实例演示开关
|
|
# 实例演示开关
|
|
|
demoEnabled: true
|
|
demoEnabled: true
|
|
|
- # 文件路径
|
|
|
|
|
|
|
+ # 文件路径
|
|
|
profile: /Users/sinhoo/Downloads/
|
|
profile: /Users/sinhoo/Downloads/
|
|
|
# 获取ip地址开关
|
|
# 获取ip地址开关
|
|
|
addressEnabled: false
|
|
addressEnabled: false
|
|
@@ -45,8 +45,8 @@ spring:
|
|
|
messages:
|
|
messages:
|
|
|
# 国际化资源文件路径
|
|
# 国际化资源文件路径
|
|
|
basename: i18n/messages
|
|
basename: i18n/messages
|
|
|
- profiles:
|
|
|
|
|
- active: druid
|
|
|
|
|
|
|
+ profiles:
|
|
|
|
|
+ active: druid-prod
|
|
|
# 文件上传
|
|
# 文件上传
|
|
|
servlet:
|
|
servlet:
|
|
|
multipart:
|
|
multipart:
|
|
@@ -90,7 +90,7 @@ token:
|
|
|
secret: abcdefghijklmnopqrstuvwxyz
|
|
secret: abcdefghijklmnopqrstuvwxyz
|
|
|
# 令牌有效期(默认30分钟)
|
|
# 令牌有效期(默认30分钟)
|
|
|
expireTime: 30
|
|
expireTime: 30
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
# MyBatisPlus配置
|
|
# MyBatisPlus配置
|
|
|
mybatis-plus:
|
|
mybatis-plus:
|
|
|
mapper-locations: classpath*:mapper/**/*Mapper.xml
|
|
mapper-locations: classpath*:mapper/**/*Mapper.xml
|
|
@@ -111,22 +111,22 @@ mybatis-plus:
|
|
|
cache-enabled: false
|
|
cache-enabled: false
|
|
|
call-setters-on-nulls: true
|
|
call-setters-on-nulls: true
|
|
|
jdbc-type-for-null: 'null'
|
|
jdbc-type-for-null: 'null'
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
# PageHelper分页插件
|
|
# PageHelper分页插件
|
|
|
-pagehelper:
|
|
|
|
|
|
|
+pagehelper:
|
|
|
helperDialect: mysql
|
|
helperDialect: mysql
|
|
|
supportMethodsArguments: true
|
|
supportMethodsArguments: true
|
|
|
- params: count=countSql
|
|
|
|
|
|
|
+ params: count=countSql
|
|
|
|
|
|
|
|
# Swagger配置
|
|
# Swagger配置
|
|
|
swagger:
|
|
swagger:
|
|
|
# 是否开启swagger
|
|
# 是否开启swagger
|
|
|
enabled: true
|
|
enabled: true
|
|
|
# 请求前缀
|
|
# 请求前缀
|
|
|
- pathMapping:
|
|
|
|
|
|
|
+ pathMapping:
|
|
|
|
|
|
|
|
# 防止XSS攻击
|
|
# 防止XSS攻击
|
|
|
-xss:
|
|
|
|
|
|
|
+xss:
|
|
|
# 过滤开关
|
|
# 过滤开关
|
|
|
enabled: true
|
|
enabled: true
|
|
|
# 排除链接(多个用逗号分隔)
|
|
# 排除链接(多个用逗号分隔)
|
|
@@ -142,4 +142,4 @@ ignored:
|
|
|
- /druid/**
|
|
- /druid/**
|
|
|
- /login
|
|
- /login
|
|
|
- /register
|
|
- /register
|
|
|
- - /captchaImage
|
|
|
|
|
|
|
+ - /captchaImage
|