From 8458e64aab474c0fc2f49ae4ff22fb11ce5cf6e2 Mon Sep 17 00:00:00 2001
From: “djh” <“3298565835@qq.com”>
Date: Mon, 11 Nov 2024 16:55:28 +0800
Subject: [PATCH] 批次新增学员查询条件,新增题目导入接口
---
exam-admin/src/main/resources/application.yml | 20 +++++++++++++++++---
1 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/exam-admin/src/main/resources/application.yml b/exam-admin/src/main/resources/application.yml
index 24ef7cc..e406ad7 100644
--- a/exam-admin/src/main/resources/application.yml
+++ b/exam-admin/src/main/resources/application.yml
@@ -2,14 +2,14 @@
application:
name: train_exam
profiles:
- active: dev
+ active: guotai
servlet:
multipart:
enabled: true
# 单个文件大小
- max-file-size: 10MB
+ max-file-size: 100MB
# 设置总上传的文件大小
- max-request-size: 20MB
+ max-request-size: 200MB
mvc:
pathmatch:
matching-strategy: ant_path_matcher
@@ -18,6 +18,10 @@
port: 8082
servlet:
context-path: /api
+ tomcat:
+ threads:
+ min-spare: 10
+ max: 200
# 用户配置
@@ -36,3 +40,13 @@
#获取ip地址开关
addressEnabled: false
+
+# 防止XSS攻击
+xss:
+ # 过滤开关
+ enabled: true
+ # 排除链接(多个用逗号分隔)
+ excludes:
+ # 匹配链接
+ urlPatterns: /system/*,/manage/*
+
--
Gitblit v1.9.2