Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
school-paper-admin
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
school-paper
school-paper-admin
Commits
7e57bafb
Commit
7e57bafb
authored
Jul 21, 2023
by
邹磊浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置修改
parent
31a776bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java
+1
-0
ruoyi-admin/src/main/resources/application.yml
+2
-0
No files found.
ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java
View file @
7e57bafb
...
...
@@ -79,6 +79,7 @@ public class CaptchaController {
* 生成验证码
*/
@GetMapping
(
"/captchaImage"
)
@SaIgnore
public
R
<
Map
<
String
,
Object
>>
getCode
()
{
Map
<
String
,
Object
>
ajax
=
new
HashMap
<>();
boolean
captchaEnabled
=
configService
.
selectCaptchaEnabled
();
...
...
ruoyi-admin/src/main/resources/application.yml
View file @
7e57bafb
...
...
@@ -216,6 +216,8 @@ springdoc:
packages-to-scan
:
com.ruoyi.web
-
group
:
3.代码生成模块
packages-to-scan
:
com.ruoyi.generator
-
group
:
4.小程序模块
packages-to-scan
:
com.ruoyi.school
# 防止XSS攻击
xss
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment