Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
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
chenjunxiong
guns-vip
Commits
00e9f4b1
Commit
00e9f4b1
authored
Jul 20, 2018
by
stylefeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改A大写
parent
3d5d3f7c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
guns-admin/src/main/java/com/stylefeng/guns/config/web/ShiroConfig.java
+1
-1
guns-admin/src/main/java/com/stylefeng/guns/config/web/WebConfig.java
+1
-1
guns-admin/src/main/java/com/stylefeng/guns/modular/api/ApiController.java
+1
-1
No files found.
guns-admin/src/main/java/com/stylefeng/guns/config/web/ShiroConfig.java
View file @
00e9f4b1
...
...
@@ -161,7 +161,7 @@ public class ShiroConfig {
*/
Map
<
String
,
String
>
hashMap
=
new
LinkedHashMap
<>();
hashMap
.
put
(
"/static/**"
,
"anon"
);
hashMap
.
put
(
"/guns
a
pi/**"
,
"anon"
);
hashMap
.
put
(
"/guns
A
pi/**"
,
"anon"
);
hashMap
.
put
(
"/login"
,
"anon"
);
hashMap
.
put
(
"/global/sessionError"
,
"anon"
);
hashMap
.
put
(
"/kaptcha"
,
"anon"
);
...
...
guns-admin/src/main/java/com/stylefeng/guns/config/web/WebConfig.java
View file @
00e9f4b1
...
...
@@ -56,7 +56,7 @@ public class WebConfig extends WebMvcConfigurerAdapter {
*/
@Override
public
void
addInterceptors
(
InterceptorRegistry
registry
)
{
registry
.
addInterceptor
(
new
RestApiInteceptor
()).
addPathPatterns
(
"/guns
a
pi/**"
);
registry
.
addInterceptor
(
new
RestApiInteceptor
()).
addPathPatterns
(
"/guns
A
pi/**"
);
}
/**
...
...
guns-admin/src/main/java/com/stylefeng/guns/modular/api/ApiController.java
View file @
00e9f4b1
...
...
@@ -13,7 +13,7 @@ import org.springframework.web.bind.annotation.RestController;
* @Date 2018/7/20 23:39
*/
@RestController
@RequestMapping
(
"/guns
a
pi"
)
@RequestMapping
(
"/guns
A
pi"
)
public
class
ApiController
extends
BaseController
{
/**
...
...
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