Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1-office-web-sit
Commits
67b75bf8
Commit
67b75bf8
authored
Jan 23, 2022
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【新增】修改权限
parent
b0b562cb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
ShiroConfig.java
src/main/java/io/office/config/ShiroConfig.java
+2
-0
IndexCarouselManageController.java
...ules/manage/controller/IndexCarouselManageController.java
+1
-0
No files found.
src/main/java/io/office/config/ShiroConfig.java
View file @
67b75bf8
...
...
@@ -63,7 +63,9 @@ public class ShiroConfig {
//不需要登录的接口
filterMap
.
put
(
"/*/authApi/login"
,
"anon"
);
filterMap
.
put
(
"/*/api/**"
,
"anon"
);
filterMap
.
put
(
"/indexCarouselManage/**"
,
"anon"
);
filterMap
.
put
(
"/**"
,
"oauth2"
);
shiroFilter
.
setFilterChainDefinitionMap
(
filterMap
);
return
shiroFilter
;
...
...
src/main/java/io/office/modules/manage/controller/IndexCarouselManageController.java
View file @
67b75bf8
...
...
@@ -49,6 +49,7 @@ public class IndexCarouselManageController extends AbstractController {
/**
* 信息
*/
@Login
@RequestMapping
(
"/info/{id}"
)
// @RequiresPermissions("generator:indexcarouselmanage:info")
public
R
info
(
@PathVariable
(
"id"
)
Integer
id
){
...
...
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