Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
b8a29ffe
Commit
b8a29ffe
authored
Jul 06, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加用户查询列表
parent
78333db5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
smart-gateway/src/main/java/com/mortals/xhx/base/framework/config/GatewayConfig.java
.../com/mortals/xhx/base/framework/config/GatewayConfig.java
+5
-6
No files found.
smart-gateway/src/main/java/com/mortals/xhx/base/framework/config/GatewayConfig.java
View file @
b8a29ffe
package
com.mortals.xhx.base.framework.config
;
import
com.mortals.xhx.base.framework.handler.SentinelFallbackHandler
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.core.Ordered
;
...
...
@@ -18,11 +17,11 @@ import org.springframework.security.web.server.SecurityWebFilterChain;
@Configuration
@EnableWebFluxSecurity
public
class
GatewayConfig
{
@Bean
@Order
(
Ordered
.
HIGHEST_PRECEDENCE
)
public
SentinelFallbackHandler
sentinelGatewayExceptionHandler
()
{
return
new
SentinelFallbackHandler
();
}
//
@Bean
//
@Order(Ordered.HIGHEST_PRECEDENCE)
//
public SentinelFallbackHandler sentinelGatewayExceptionHandler() {
//
return new SentinelFallbackHandler();
//
}
@Bean
public
SecurityWebFilterChain
springSecurityFilterChain
(
ServerHttpSecurity
http
)
{
...
...
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