Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
李苗
/
Vion-DevOps
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c1e946f1
authored
Nov 29, 2023
by
HlQ
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
[chg] 拦截器加入 Spring 托管
1 parent
140efa64
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/main/java/vion/interceptor/InterceptorConfig.java
src/main/java/vion/interceptor/InterceptorConfig.java
View file @
c1e946f
...
@@ -2,10 +2,11 @@ package vion.interceptor;
...
@@ -2,10 +2,11 @@ package vion.interceptor;
import
cn.dev33.satoken.interceptor.SaInterceptor
;
import
cn.dev33.satoken.interceptor.SaInterceptor
;
import
cn.dev33.satoken.stp.StpUtil
;
import
cn.dev33.satoken.stp.StpUtil
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.web.servlet.config.annotation.InterceptorRegistry
;
import
org.springframework.web.servlet.config.annotation.InterceptorRegistry
;
import
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
;
import
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
;
//
@Configuration
@Configuration
public
class
InterceptorConfig
implements
WebMvcConfigurer
{
public
class
InterceptorConfig
implements
WebMvcConfigurer
{
@Override
@Override
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment