From 4cf3786f48f0f42adc7ecf9352ddfc7df038f5bc Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: 星期一, 01 六月 2020 10:46:30 +0800
Subject: [PATCH] 升级fastjson到最新版1.2.70 修复高危安全漏洞
---
ruoyi/src/main/resources/application.yml | 27 +++++++++++++++++++++++----
1 files changed, 23 insertions(+), 4 deletions(-)
diff --git a/ruoyi/src/main/resources/application.yml b/ruoyi/src/main/resources/application.yml
index a1f653d..89ea4a6 100644
--- a/ruoyi/src/main/resources/application.yml
+++ b/ruoyi/src/main/resources/application.yml
@@ -3,7 +3,7 @@
# 名称
name: RuoYi
# 版本
- version: 1.1.0
+ version: 2.2.0
# 版权年份
copyrightYear: 2019
# 实例演示开关
@@ -11,7 +11,7 @@
# 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath)
profile: D:/ruoyi/uploadPath
# 获取ip地址开关
- addressEnabled: true
+ addressEnabled: false
# 开发环境配置
server:
@@ -27,7 +27,6 @@
max-threads: 800
# Tomcat启动初始化的线程数,默认值25
min-spare-threads: 30
-
# 日志配置
logging:
@@ -61,6 +60,8 @@
host: localhost
# 端口,默认为6379
port: 6379
+ # 密码
+ password:
# 连接超时时间
timeout: 10s
lettuce:
@@ -99,6 +100,13 @@
supportMethodsArguments: true
params: count=countSql
+# Swagger配置
+swagger:
+ # 是否开启swagger
+ enabled: true
+ # 请求前缀
+ pathMapping: /dev-api
+
# 防止XSS攻击
xss:
# 过滤开关
@@ -106,4 +114,15 @@
# 排除链接(多个用逗号分隔)
excludes: /system/notice/*
# 匹配链接
- urlPatterns: /system/*,/monitor/*,/tool/*
\ No newline at end of file
+ urlPatterns: /system/*,/monitor/*,/tool/*
+
+# 代码生成
+gen:
+ # 作者
+ author: ruoyi
+ # 默认生成包路径 system 需改成自己的模块名称 如 system monitor tool
+ packageName: com.ruoyi.project.system
+ # 自动去除表前缀,默认是true
+ autoRemovePre: false
+ # 表前缀(生成类名不会包含表前缀,多个用逗号分隔)
+ tablePrefix: sys_
\ No newline at end of file
--
Gitblit v1.9.2